Costing detaisl material wise
HI folks
I am having a requirement as stated below please tell me how to procede :
I have to display all the cost incured in manufacturing a single FIN goods with help from RAW as well SF goods and compare its price with all the previous year entries for cost reduction .Please help me with the basis tables contaning taxes and all the other need ful tables .
Thnks in advance.
Swapnil k
Hi,
Product cost details check the tables, KEKO, KEPH.
Tax details you can get in the table BSET, WITH_ITEM
Requirement is not clear, can give more wht exactly required.
VVR
Similar Messages
-
HI folks
I am having a requirement as stated below please tell me how to procede :
I have to display all the cost incured in manufacturing a single FIN goods with help from RAW as well SF goods and compare its price with all the previous year entries for cost reduction .Please help me with the basis tables contaning taxes and all the other need ful tables .
Thnks in advance.
Swapnil kDear Swapnil,
Check the report CK33 and S_ALR_87099932.
Regards
Mangalraj.S -
Requirement of Cost Estimate Details Material-wise
Hi,
Kindly let me know the tablenames or Tcodes in which Cost Estimate details are stored material-wise(FG or SFG)
For E.g.
1 Raw Materials 0.58
2 Packing Material 1.23
3 Man Power 0.15
4 Utilities 0.71
5 Q C Overhead 1.94
6 Depreciation 0.91
7 Factory Overhead 0.07
8 Admin- Overhead
9 Other Overheads
Final Cost 5.59 ( Material Standard Price Derivation)
Standard SAP Report should give above details directly after enter range of SFG or FG Materials
With Regards,
Kunal ShethHi Kunal,
You Estimate the Standard Cost using Transaction Code CK11N, Mark and Release in CK24.
For any Material, SFG or FG, you can view the Standard Cost Estimate
1.Using Transaction Code CK13N.
You can find bothe "Itemization" View (as you asked in your question) and "Cost Component View" there.
2. Alternatively, to be comparitively easy, go to the Material Master of any particular Material for which you want to see the Standard Cost Estimate, Go to "Costing 2" view, you will be able to see there "Future Planned Price", "Current Standard Price" and "Previous Price".
You can simply press on any of the above "buttons" (Press "Current" to view) and the system will take you to the Standard Cost Estimate screen.
Pls check and revert back for further explanation....
Srikanth Munnaluri -
Actual cost of material in COPA
Hi Team,
We have implemented PP, CO & COPA our client has the requirement to see the actual cost of material in COPA as per their requirement we designed the KE30 report as product wise profitability report in that report we used the record types B( direct postings from FI), C(Order settlement), D(over head cost) from the copa assessment cycle & F ( SD billing).
1) Is it possible to see the actual cost of material( Including activity cost) in copa.
2) If it is possible please advise.Hello
It is not possible to get the actual cost of the material in COPA. Actual cost can only be derived if you implement material ledger.
However in COPA we may come close to actual cost to some extent. The following configuration needs to be done:
1. Run standard cost estimate every month so that the price reflects the most recent material prices.
2. Define assessment cycles for auxiliary cost centers (whose cost should form part of inventory cost) to production cost centers.
3. Configure for splitting and revaluation at actual price.
4. Take the production variances to COPA.
5. Create a report to show the standard cost and variances.
One of the difference is that the total standard cost is for the quantities sold during the period however the variances will be for the quantities produced during the period.
Another difference is that the unabsorbed overheads could not be allocated to individual materials.
Hope this helps.
Sangram -
Calculation Overhead on input material wise
Dear Experts,
We have an issue of Overhead calculation, the overhead calculated on cost element defined as base in costing sheet, can we calculate overhead on input material wise, suppose 6 material consumed in a production order I want to calculate overhead on only 4 material but the valuation class of all 6 input material are same.
kindly help to solve the issue,
Thanks & Rgards,Use "Qty based Overhead". Many of the dependencies have already been defined by the std SAP delivered system.
-
Hello Gurus.
We have Manufactuire one Product which has Value around 10,00000 Inr in stock.
Price contain only Material Consumption Value , BUT Not any type of Overhead like salary
wages, , labour, elctricity, site exp, security,insurance, testing,executive salary Overhead.
Now I want to add These Overhead on that Material, How i do it.
I am waiting your reply.
Regards,
riten PatelHi, You can add the Overheads on Material through costing sheet. The only thing you need to do is, you have to add one additional row for your overhead in costing sheet ()KZS2 transaction) If you are using.
1). You have to define Overhead key in product costing customization
2). You have to assign that overhead key to overhead group in the same customization
3). Then you have to define Overhead rates either quantity bases or Percentage based
4). You have to define Credit for Assigning Overhead row in the costing sheet (KZS2)
5). The above over head group should be assigned in the Material master (MM02), Costing 1 view
6). In Costing Sheet (KZS2) - You have to add Overhead Row to the costing sheet
7). For each Overhead Row - you should assign one Credit where you will asign Cost center & Cost element
After that if you execute standard cost estimate, you will get the break up for Overheads which you have added in the costing sheet.
You can also add overheads through KP26 transaction, you can add Overheads for each activity. So this will be added in workcenter formula. After that when you execute standrd cost estimate, you will get the Overhead based on activity. But this will be calculated at overall level and not at single material level.
If you want to add Overheads material wise, you better proceed with Cost sheet or else you can also go with activity planning through KP26...
Thanks
Fit 4 Nothing -
How to get report for cost estimates material cost only
Hi Gurus,
We have requirement in sales order costing that we need to develope report which shows only Material cost for all BOM levels.
Normally at lower levels cost of Material and activity cost will be treated as Material cost for next level. Here I want to consider only material cost not activity cost at lower levels
Pls suggest the logic and tables for exploding BOM and fetching material cost only.
Thanks
SnehaSneha
If you tick the "Roll up" indicatorfor each cost component in Cost Comp Str OKTZ, then overheads do not get added to the material cost... This is my understanding about it.. Is it behaving some thing different in your case??
br, Ajay M -
Material wise reciept and Issue report with Opening and Closing Stock
Hi
I need a report,Material wise Receipt and issue with Opening and Closing stock.Is there any standard report available in SAP ?
Or we have to go for Customised Report.
Please replyHi,
MB5B gives total receipts - if i click on the receipts i can view the multiple material documents - BUT is there any way to drill down the reciepts or view the breakup of the receipts on the same screen OR is there any other report for this.
Regards,
Laxmi -
Data is not linked to material wise
Hi experts,
In this Report data is not linked to material wise.
it comming merge the all the materials in one material.
TYPE-POOLS: SLIS.
TABLES: MKPF,LFA1,MSEG,EKET,T001L,MAKT,S031,S032,MARA,LIPS,LIKP,T001W.
DATA FLAG TYPE I.
DATA : MENGE_RE LIKE MSEG-MENGE,
MENGE_IS LIKE MSEG-MENGE,
MENGE_O LIKE MSEG-MENGE,
MENGE_BAL LIKE MSEG-MENGE.
DATA MAGBB LIKE S031-MAGBB.
DATA : F_LNO LIKE SY-LINNO,
S_LNO LIKE SY-LINNO,
V_LNO LIKE SY-LINNO.
DATA MZUBB LIKE S031-MZUBB.
DATA V_MONTH LIKE S031-SPMON.
DATA XBLNR LIKE MKPF-XBLNR.
DATA : BEGIN OF ITAB1 OCCURS 100,
MATNR LIKE MAKT-MATNR,
END OF ITAB1.
DATA : BEGIN OF ITAB2 OCCURS 100,
MATNR LIKE MAKT-MATNR,
WERKS LIKE MARD-WERKS,
LGORT LIKE MARD-LGORT,
BUSTW LIKE MSEG-BUSTW,
BWART LIKE MSEG-BWART,
SHKZG LIKE MSEG-SHKZG,
MENGE LIKE MSEG-MENGE,
END OF ITAB2.
DATA: PAGNO(5) TYPE C.
DATA : PAGENO LIKE SY-PAGNO.
DATA: STR1 TYPE DATS,
STR2(14) TYPE C,
STR3(10) TYPE C.
DATA : V_MONUM LIKE T015M-MONUM,
V_MONAM LIKE T015M-MONAM.
DATA : V_PAGENO LIKE SY-PAGNO.
TYPES: FARBE TYPE SLIS_T_SPECIALCOL_ALV.
DATA V_STOCK LIKE MSEG-MENGE.
DATA V_STOCK1 LIKE MSEG-MENGE.
DATA: V_MONTH1 LIKE S031-SPMON.
DATA: OSTOCK LIKE MSEG-MENGE.
DATA : FLAG6 TYPE C,
V_PAGENO1 LIKE SY-PAGNO,
V_PAGENO2 LIKE SY-PAGNO.
DATA: FLD(15).
DATA: TXT(50).
DATA: FLAG5.
I N I T I A L I Z A T I O N
*GT_REPID = SY-REPID.
PAGNO = SY-PAGNO.
A T S E L E C T I O N S C R E E N
AT SELECTION-SCREEN.
*AT SELECTION-SCREEN ON BUDAT.
PERFORM VALIDATION.
S T A R T O F S E L E C T I O N
START-OF-SELECTION.
SET MARGIN 5.
PERFORM FETCH_DATA.
PERFORM WRITE_REPORT.
PERFORM STOCK.
E N D O F S E L E C T I O N
END-OF-SELECTION.
Report Selections
DATA: BEGIN OF IT_HEADER OCCURS 10,
WERKS LIKE MSEG-WERKS,
NAME1 LIKE T001W-NAME1,
MAKTX LIKE MAKT-MAKTX,
MATNR LIKE MSEG-MATNR,
MENGE_O LIKE MSEG-MENGE,
END OF IT_HEADER.
DATA: BEGIN OF ITAB OCCURS 50,
WERKS LIKE MSEG-WERKS,
MATNR LIKE MSEG-MATNR,
BWART LIKE MSEG-BWART,
LGORT LIKE MSEG-LGORT,
EBELN LIKE MSEG-EBELN,
XBLNR LIKE MKPF-XBLNR,
BUDAT LIKE MKPF-BUDAT,
MBLNR LIKE MSEG-MBLNR,
MENGE LIKE MSEG-MENGE,
MAKTX LIKE MAKT-MAKTX,
XAUTO LIKE MSEG-XAUTO,
NAME1 LIKE T001W-NAME1,
MENGE_O LIKE MSEG-MENGE,
SHKZG LIKE MSEG-SHKZG,
MENGE_IS LIKE MSEG-MENGE,
MENGE_RE LIKE MSEG-MENGE,
END OF ITAB.
DATA: BEGIN OF INT_DATA OCCURS 50,
WERKS LIKE MSEG-WERKS,
MATNR LIKE MSEG-MATNR,
BWART LIKE MSEG-BWART,
XBLNR LIKE MKPF-XBLNR,
MBLNR LIKE MSEG-MBLNR,
BUDAT LIKE MKPF-BUDAT,
MAKTX LIKE MAKT-MAKTX,
MENGE_O LIKE MSEG-MENGE,
MENGE_R LIKE MSEG-MENGE,
MENGE_TO LIKE MSEG-MENGE,
MENGE_TI LIKE MSEG-MENGE,
MENGE_S LIKE MSEG-MENGE,
MENGE_ST LIKE MSEG-MENGE,
MENGE_AD LIKE MSEG-MENGE,
MENGE_RT LIKE MSEG-MENGE,
MENGE_C LIKE MSEG-MENGE,
MENGE_CL LIKE MSEG-MENGE,
MENGE_BAL LIKE MSEG-MENGE,
MENGE_CR LIKE MSEG-MENGE,
NAME1 LIKE T001W-NAME1,
MENGE_RE LIKE MSEG-MENGE,
MENGE_IS LIKE MSEG-MENGE,
MENGE_BAL1 LIKE MSEG-MENGE,
SHKZG LIKE MSEG-SHKZG,
MENGE LIKE MSEG-MENGE,
LGORT LIKE MSEG-LGORT,
END OF INT_DATA.
DATA: BEGIN OF INT_DATA1 OCCURS 50,
WERKS LIKE MSEG-WERKS,
MATNR LIKE MSEG-MATNR,
BWART LIKE MSEG-BWART,
MENGE_ST LIKE MSEG-MENGE,
MENGE_O LIKE MSEG-MENGE,
WAMNG LIKE EKET-WAMNG,
WEMNG LIKE EKET-WEMNG,
MENGE LIKE MSEG-MENGE,
RETPO LIKE EKPO-RETPO,
UMREN LIKE EKPO-UMREN,
UMREZ LIKE EKPO-UMREZ,
BSTMG LIKE EKPO-MENGE,
XBLNR LIKE MKPF-XBLNR,
END OF INT_DATA1.
DATA: BEGIN OF INT_DATA2 OCCURS 50,
WERKS LIKE MSEG-WERKS,
LGORT LIKE S031-LGORT,
MATNR LIKE MSEG-MATNR,
BWART LIKE MSEG-BWART,
MENGE_IS LIKE MSEG-MENGE,
MBWBEST LIKE S032-MBWBEST,
MAKTX LIKE MAKT-MAKTX,
END OF INT_DATA2.
DATA:V_GJAHR LIKE MKPF-BUDAT.
SELECTION-SCREEN BEGIN OF BLOCK 0 WITH FRAME TITLE TEXT-064.
SELECT-OPTIONS:
MATNR FOR MSEG-MATNR,
MATKL FOR MARA-MATKL OBLIGATORY,
WERKS FOR MSEG-WERKS OBLIGATORY,
LGORT FOR MSEG-LGORT,
*CHARG FOR MSEG-CHARG,
BWART FOR MSEG-BWART,
*LIFNR FOR LFA1-LIFNR,
*WADAT FOR LIKP-WADAT_IST,
S_DATE FOR MKPF-BUDAT.
SELECTION-SCREEN END OF BLOCK 0.
TOP-OF-PAGE.
PERFORM HEADER_WRITE.
FORM FETCH_DATA .
SELECT
MATNR " Material Number
WERKS " Plant
INTO TABLE IT_HEADER
FROM MSEG
WHERE MATNR = IT_HEADER-MATNR AND
WERKS = IT_HEADER-WERKS.
STR3 = S_DATE-LOW+0(4).
SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE ITAB1
WHERE MATNR IN MATNR AND
MATKL IN MATKL.
SELECT MATNR WERKS LGORT
INTO TABLE ITAB2
FROM MARD FOR ALL ENTRIES IN ITAB1
WHERE WERKS IN WERKS AND
LGORT IN LGORT AND
MATNR = ITAB1-MATNR.
SELECT SINGLE NAME1 FROM T001W INTO INT_DATA-NAME1
WHERE WERKS = INT_DATA-WERKS.
LOOP AT ITAB2.
SELECT M~MATNR M~WERKS M~LGORT M~MENGE M~MBLNR M~MJAHR M~XAUTO M~SHKZG
M~BWART M~EBELN N~BUDAT N~XBLNR S~NAME1
INTO CORRESPONDING FIELDS OF ITAB
FROM MSEG AS M INNER JOIN MKPF AS N ON
M~MBLNR = N~MBLNR
AND M~MJAHR = N~MJAHR
INNER JOIN T001W AS S ON
M~WERKS = S~WERKS
WHERE N~BUDAT IN S_DATE AND
M~WERKS = ITAB2-WERKS AND
M~LGORT = ITAB2-LGORT AND
M~MATNR = ITAB2-MATNR AND
M~BWART IN BWART.
APPEND ITAB.
CLEAR ITAB.
ENDSELECT.
IF SY-SUBRC NE 0.
ITAB-MATNR = ITAB2-MATNR.
ITAB-WERKS = ITAB2-WERKS.
ITAB-LGORT = ITAB2-LGORT.
ITAB-BWART = ITAB2-BWART.
APPEND ITAB.
ENDIF.
CLEAR: ITAB2,ITAB.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM ITAB2 COMPARING MATNR WERKS .
V_MONTH = S_DATE-LOW+0(6).
SELECT * INTO CORRESPONDING FIELDS OF TABLE INT_DATA2
FROM S032 FOR ALL ENTRIES IN ITAB2
WHERE MATNR = ITAB2-MATNR
AND WERKS = ITAB2-WERKS
AND LGORT = SPACE
AND MBWBEST <> SPACE.
LOOP AT INT_DATA2 .
SELECT SINGLE * FROM S031
WHERE MATNR = INT_DATA2-MATNR AND
WERKS = INT_DATA2-WERKS AND
LGORT = SPACE AND
SPMON GT V_MONTH.
MODIFY INT_DATA2.
CLEAR: INT_DATA2, S031.
ENDLOOP.
DELETE INT_DATA WHERE MENGE_O IS INITIAL .
DELETE ADJACENT DUPLICATES FROM INT_DATA COMPARING XBLNR MATNR MAKTX.
V_MONTH1 = S_DATE-LOW+0(6).
SORT ITAB BY MATNR WERKS XBLNR .
LOOP AT ITAB.
XBLNR = ITAB-XBLNR.
INT_DATA-MENGE = ITAB-MENGE.
INT_DATA-BWART = ITAB-BWART.
INT_DATA-XBLNR = ITAB-XBLNR.
INT_DATA-BUDAT = ITAB-BUDAT.
INT_DATA-MATNR = ITAB-MATNR.
INT_DATA-MBLNR = ITAB-MBLNR.
INT_DATA-MENGE = ITAB-MENGE.
INT_DATA-SHKZG = ITAB-SHKZG.
INT_DATA-MENGE_IS = ITAB-MENGE_IS.
INT_DATA-MENGE_RE = ITAB-MENGE_RE.
INT_DATA-MENGE_O = ITAB-MENGE_O.
INT_DATA-NAME1 = ITAB-NAME1.
IF FLAG = 1.
PERFORM GET_OPENING_STOCK.
ENDIF.
INT_DATA-MENGE_O = OSTOCK.
CASE ITAB-BWART.
WHEN '101'.
IF INT_DATA-SHKZG = 'S'.
INT_DATA-MENGE_R = INT_DATA-MENGE_R + ITAB-MENGE.
ENDIF.
WHEN '453'.
IF INT_DATA-SHKZG = 'S'.
IF ITAB-XAUTO = 'X'.
INT_DATA-MENGE_RT = INT_DATA-MENGE_RT + ITAB-MENGE.
ENDIF.
ENDIF.
WHEN '351' OR '641'.
IF ITAB-LGORT = 0.
INT_DATA-MENGE_R = INT_DATA-MENGE_R + ITAB-MENGE.
ELSE.
INT_DATA-MENGE_TO = INT_DATA-MENGE_TO + ITAB-MENGE.
ENDIF.
WHEN '602' OR '642'.
IF INT_DATA-SHKZG = 'S'.
IF ITAB-LGORT = 0.
INT_DATA-MENGE_CL = INT_DATA-MENGE_CL + ITAB-MENGE.
ENDIF.
ENDIF.
WHEN '552' OR '310'.
IF INT_DATA-SHKZG = 'S'.
INT_DATA-MENGE_AD = INT_DATA-MENGE_AD - ITAB-MENGE.
ENDIF.
WHEN '601'.
IF INT_DATA-SHKZG = 'H'.
INT_DATA-MENGE_S = INT_DATA-MENGE_S + ITAB-MENGE.
ENDIF.
WHEN '641' .
IF INT_DATA-SHKZG = 'H'.
IF ITAB-LGORT = 0.
INT_DATA-MENGE_TO = INT_DATA-MENGE_TO + ITAB-MENGE.
ENDIF.
ENDIF.
WHEN '454' OR '102'.
IF INT_DATA-SHKZG = 'H'.
IF ITAB-XAUTO = 'X'.
INT_DATA-MENGE_CR = INT_DATA-MENGE_CR - ITAB-MENGE.
ENDIF.
ENDIF.
WHEN '551' OR '309'.
IF INT_DATA-SHKZG = 'H'.
INT_DATA-MENGE_AD = INT_DATA-MENGE_AD + ITAB-MENGE.
ENDIF.
ENDCASE.
PERFORM BALANCE.
COLLECT INT_DATA.
CLEAR: INT_DATA,XBLNR, FLAG, OSTOCK.
IF INT_DATA-SHKZG = 'S'.
MENGE_RE = INT_DATA-MENGE_R + INT_DATA-MENGE_RT + INT_DATA-MENGE_CL
+ INT_DATA-MENGE_AD.
ENDIF.
IF INT_DATA-SHKZG = 'H'.
MENGE_IS = INT_DATA-MENGE_S + INT_DATA-MENGE_TO +
INT_DATA-MENGE_CR + INT_DATA-MENGE_AD.
ENDIF.
ENDLOOP.
SORT INT_DATA BY XBLNR BUDAT WERKS MATNR.
LOOP AT INT_DATA.
AT NEW MATNR.
FLAG = 1.
IT_HEADER-MATNR = INT_DATA-MATNR.
SELECT SINGLE MAKTX FROM MAKT INTO IT_HEADER-MAKTX WHERE
MATNR = IT_HEADER-MATNR and spras = 'E'.
APPEND IT_HEADER.
CLEAR IT_HEADER.
endat.
ENDLOOP.
LOOP AT INT_DATA.
READ TABLE INT_DATA2 WITH KEY MATNR = INT_DATA-MATNR
WERKS = INT_DATA-WERKS.
SELECT SINGLE * FROM MAKT WHERE MATNR = INT_DATA-MATNR.
INT_DATA-MAKTX = MAKT-MAKTX.
MODIFY INT_DATA.
CLEAR: INT_DATA, INT_DATA2.
ENDLOOP.
LOOP AT INT_DATA WHERE MENGE_O = 0 AND MENGE_RT = 0 AND
MENGE_CL = 0 AND MENGE_AD = 0 AND
MENGE_S = 0 AND MENGE_TO = 0 AND
MENGE_CR = 0 AND MENGE_R = 0 AND MENGE_BAL = 0.
DELETE IT_HEADER WHERE MATNR = INT_DATA-MATNR.
ENDLOOP.
DELETE INT_DATA WHERE MENGE_O = 0 AND MENGE_RT = 0 AND
MENGE_CL = 0 AND MENGE_AD = 0 AND
MENGE_S = 0 AND MENGE_TO = 0 AND
MENGE_CR = 0 AND MENGE_R = 0 AND MENGE_BAL = 0.
PERFORM WRITE_REPORT.
INT_DATA-MENGE_O = OSTOCK.
PERFORM GET_OPENING_STOCK.
FORMAT COLOR 4 INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
106 'Opening Balance' CENTERED,
130 SY-VLINE,
156 SY-VLINE.
WRITE: 130(8) OSTOCK.
WRITE:/1(156) SY-ULINE.
FORMAT RESET.
LOOP AT INT_DATA.
FORMAT COLOR 2 INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 INT_DATA-XBLNR,
14 SY-VLINE,
15 INT_DATA-BUDAT,
27 SY-VLINE,
28 INT_DATA-BWART,
40 SY-VLINE,
43(9) INT_DATA-MENGE_R,
51 SY-VLINE,
52(9) INT_DATA-MENGE_RT,
65 SY-VLINE,
66(9) INT_DATA-MENGE_CL,
82 SY-VLINE,
83(7) INT_DATA-MENGE_AD,
89 SY-VLINE,
90(9) INT_DATA-MENGE_S,
97 SY-VLINE,
98(9) INT_DATA-MENGE_TO,
106 SY-VLINE,
107(9) INT_DATA-MENGE_CR,
120 SY-VLINE,
121(9) INT_DATA-MENGE_AD,
130 SY-VLINE,
131(9) INT_DATA-MENGE_BAL,
144 SY-VLINE,
145 INT_DATA-MBLNR,
156 SY-VLINE.
FORMAT RESET.
ENDLOOP.
WRITE:/1(156) SY-ULINE.
ENDFORM.
FORM WRITE_REPORT.
SORT IT_HEADER BY MATNR.
LOOP AT IT_HEADER.
SKIP .
AT NEW MATNR.
WRITE:/1(60) SY-ULINE.
READ TABLE IT_HEADER INDEX SY-TABIX.
WRITE:/1 SY-VLINE,
2 'Material :'(006),14(7) IT_HEADER-MATNR NO-GAP,'-',
IT_HEADER-MAKTX,
60 SY-VLINE.
WRITE:/1(60) SY-ULINE.
SKIP.
SET LEFT SCROLL-BOUNDARY COLUMN 50.
WRITE:/1(156) SY-ULINE.
FORMAT COLOR 1 INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 'Doc. No' CENTERED,
14 SY-VLINE,
15(14) 'Doc.Date' CENTERED,
27 SY-VLINE,
28(10) 'MVT' CENTERED,
40 SY-VLINE,
41(57) 'Receipts' CENTERED,
89 SY-VLINE, 90(47) 'Issues' CENTERED,130 SY-VLINE,131(12) 'Balance' CENTERED,144 SY-VLINE,
145 'MAT.DOC NO' CENTERED,156 SY-VLINE,
/41 SY-VLINE,1 SY-VLINE,14 SY-VLINE,27 SY-VLINE,40 SY-VLINE,89 SY-VLINE,130 SY-VLINE,144 SY-VLINE,156 SY-VLINE,
40 SY-ULINE,
/40 SY-VLINE,
43 'STO-In' CENTERED , 51 SY-VLINE,
52 'Sales Returns' CENTERED , 65 SY-VLINE,
66 'Canc of Invoice' CENTERED, 82 SY-VLINE,
83 'Adj' CENTERED, 89 SY-VLINE,
90 'Sales' CENTERED, 97 SY-VLINE,
98 'STO-Out' CENTERED, 106 SY-VLINE,
107 'Canc of Sales' CENTERED, 120 SY-VLINE,
121 'Adj' CENTERED, 130 SY-VLINE,144 SY-VLINE,156 SY-VLINE,
1 SY-VLINE,14 SY-VLINE,27 SY-VLINE,40 SY-VLINE.
WRITE:/1(156) SY-ULINE.
*LOOP AT INT_DATA.
*PERFORM GET_OPENING_STOCK.
*APPEND INT_DATA.
*ENDLOOP.
FORMAT RESET.
ENDAT.
ENDLOOP.
ENDFORM.
*& Form BALANCE
text
--> p1 text
<-- p2 text
FORM BALANCE.
IF INT_DATA-SHKZG = 'S'.
MENGE_RE = INT_DATA-MENGE_O + INT_DATA-MENGE.
INT_DATA-MENGE_BAL = MENGE_RE.
INT_DATA-MENGE_RE = INT_DATA-MENGE.
ELSEIF INT_DATA-SHKZG = 'H'.
MENGE_RE = MENGE_RE - INT_DATA-MENGE.
INT_DATA-MENGE_BAL = MENGE_RE.
INT_DATA-MENGE_IS = INT_DATA-MENGE.
ENDIF.
ENDFORM. " BALANCE
FORM HEADER_WRITE.
SKIP.
WRITE: /1(156) SY-ULINE.
WRITE: /1 SY-VLINE,
2(144) 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
INTENSIFIED CENTERED," INVERSE ON
156 SY-VLINE.
WRITE: /1(156) SY-ULINE.
WRITE: /1 SY-VLINE,
2(156) 'STOCK LEDGER' INTENSIFIED CENTERED,
"INVERSE ON,
156 SY-VLINE.
WRITE: /1(156) SY-ULINE.
SELECT SINGLE * FROM T001W WHERE
WERKS IN WERKS.
IF WERKS-HIGH EQ SPACE.
CONCATENATE 'Plant : ' WERKS-LOW INTO TXT.
ELSE.
CONCATENATE 'FROM PLANT : ' WERKS-LOW 'TO PLANT : ' WERKS-HIGH INTO TXT SEPARATED BY SPACE.
ENDIF.
WRITE:/ 'Plant :', WERKS-LOW,SPACE ,'-', T001W-NAME1,
82 'As Of Date :', 95 sy-datum.
IF NOT S_DATE IS INITIAL.
WRITE: / 'From:'(004), S_DATE-LOW, SPACE, 'To:'(006), S_DATE-HIGH,82 'PAGE No:', 91 SY-PAGNO..
ENDIF.
*IF FLAG5 = 'E'.
PERFORM WRITE_REPORT.
*ENDIF.
FORMAT RESET.
endform.
*& Form GET_OPENING_STOCK
text
FORM GET_OPENING_STOCK.
SELECT SUM( MZUBB ) SUM( MAGBB ) INTO (V_STOCK, V_STOCK1)
FROM S031 WHERE MATNR = ITAB-MATNR AND
WERKS = ITAB-WERKS AND
SPMON LT V_MONTH1 AND LGORT = ITAB-LGORT.
OSTOCK = V_STOCK1 - V_STOCK.
IF OSTOCK < 0.
OSTOCK = OSTOCK * -1.
ENDIF.
ENDFORM. " GET_OPENING_STOCK
Thanks & Regards,
Sreedhar.Hi,
Check if the data is there in the data target on which your report is based.
Check to see if this data is available for reporting.
Check to see if you have auth to view this data.
Check if there are any filters or restrictions in the query that would prevent the data from being displayed.
Check the data through LISTCUBE transaction.
Hope this helps... -
How to print total stock in smartform by material wise
Dear Experts,
I am trying to print total material stock which is issued and receipt during entered date in a smartform ,Here I want to print totatl stock issued n receipt by material wise in seperate line .For that I fetch alldata and put into one internal table .In smartform I am using table for printing data.
Edited by: BharatRathod on Mar 8, 2010 11:43 AM
Edited by: BharatRathod on Mar 8, 2010 11:46 AMHi,
Try using the CALCULATIONS tab in the tables for printing the total stock in smartforms.
Regards,
Sharin. -
Reducing the Freight cost on material value for undelivered material
Hi Experts,
Summary : The material supplier vendor needs to be paid for full quantity of material. The freight transport is allowed an under tolearance of 0.5% on the material to be supplied. If the delivered material quantity breaches the 0.5% under tolerance then amount at 1.5 times the cost of material for the shortage is to be deducted from the transporter. A dummy GR will have to be prepared for the undelivered quantity for which we do not want the freight cost to be loaded. The details scenario is mentioned below :-
We have to make a Purchase Order with material code say ABC for procured of some material. Suppose we make a Purchase Order for 100 nos. at a Unit Price of Say Rs. 10/- for Material Code ABC on say Vendor M/s XYZ. A freight condition is maintained in the Conditions Tab and suppose the Freight is Rs. 10 per unit of the material.
While preparing the Goods Receipt through MIGO, in the Freight Tab we select say freight vendor say M/s PQR against the freight condition and post the goods receipt.
While doing Invoice Processing in MIRO, when we enter the combination of Purchase Order and Planned Delivery Cost the system will populate the vendor codes of both the supplier of material and the transporter. On selecting the transporter the freight amount will populate against which the invoice of the tranporter can be processed.
In the Vendor Master of M/s XYZ GR-Based Invoice Verification is activated.
The vendor is allowed an under tolerance of 0.5% (i.e. the vendor should deliver at least 99.50 nos. of the Purchase Order). If the vendor delivers 99.50 or more then there will be no deduction in the freight charges.
But suppose the vendor delivers only 99.4 nos. of the quantity. Then we will prepare the GRIR for 99.4 nos.only. But while processing the MIRO we need to deduct 1.5 times the value of the material from the freight amount for the shortshipped quantity, i.e.
0.1 no (99.5 u2013 99.4) X Rs. 10/- * 1.5 = Rs. 1.5 are to be deducted from the final payment from the freight amount of the transporter.
The material supplier will have to be paid in full 100 nos. of quantity and will raise an invoice for 100 nos. A dummy GRIR for the 0.6 nos. of undelivered material will have to be prepared for processing the invoice for the 100 nos. of the material supplier and a dummy issue for 0.6 nos. of undelivered material will be prepared to remove them from the system.
Hence the freight cost for this 0.6 nos. of undelivered material will also go into the cost of the material and increase the MAP by that amount. Also the goods issue Cost will also have the effect of the freight cost.
We do not want to load the freight cost for the undelivered material in the value of the material.
Can any one please suggest a solution for the same.
Thanks in advance.
AJ.Hi
A PO Will be raised for full quantity of material say 100 nos.
The material supplier vendor needs to be paid for full quantity of material.
A freight vendor is maintained at the time of GR for material against the freight condition maintained in the Po.
The freight vendor facilitates the delivery of the material from the vendor to the purchaser for which he is given an under tolerance limit of 0.5%. Any delivery below this tolerance limit, freight amount to the effect of 1.5 times the per unit rate of material x short fall below 0.5% tolerance will be deducted from the freight amount.
A dummy grir will have to be prepared for the short delivered quantity for processing the invoice for the full quantity of the purchase order, as the vendor is going to raise the invoice for full purchase order quantity. The client does not want to load the freight cost of the undelivered quantity on the material value as it will wrongly show the MAP of the material. This shortshipped material will be issued to remove it from the system and the stock will remain for the delivered quantity only. The vendor is subject to gr based invoice verification.
Please suggest a solution.
Thanks in advance.
AJ
The freight transport is allowed an under tolearance of 0.5% on the material to be supplied. If the delivered material quantity breaches the 0.5% under tolerance then amount at 1.5 times the cost of material for the shortage is to be deducted from the transporter. A dummy GR will have to be prepared for the undelivered quantity for which we do not want the freight cost to be loaded. -
Regarding material wise purchase order creation with reference to pr
Dear sir
I have a scenario depending on the material wise pos creation
I have two type of material
1) raw material
2) consumables
When user will create purchase order for raw material, system should ask purchase requisition. ( i.e with out purchase requisition for raw material , system should not allow to create the purchase order)
Where as for all consumables materials system should allow to create the purchase order
Without purchase requisition also, for user.
Regards
Jrp.You have to create two different document type for purchase order.
1) Raw Material Purchase
2) Consumables Purchase
You can create two different document type for purchase order with below mention path: -
SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Document Types.
After define two different document type, You can change field status for two different document type with below mention path.
SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Screen Layout at Document Level.
Select document type and change field status of purchase requisition.
Regards,
Mahesh Wagh -
Cost of material charged to project but qty remains in stock
Dear Gurus,
I have a scenario, we have project systems PS. We have valuated projects and valuated project stock. Once project is over and if we have material left over, then my client want to charge the cost of the material to the project but he want to keep the stock at zero value in inventory, and issues it next time on zero value.
I have tried to transfer material using 415 Q, but system does not allow to transfer materaial from valuated project to non-valuated project.
kindly suggest any solution.Dear,
my client wants to charge the leftover material cost to project but want to keep the qty in stock, so this is why we have a nonvalauted project. otherwise my client projects are valuated. i have not find any solution to charge the cost of material to project from project stock and keep the stock in inventory on zero value. and next time when this leftover is issued it will be issued on zero value.
hope u have a solution.
Edited by: Johi Kapoor on Nov 10, 2011 11:57 AM -
In purchase register i need material wise gl wise amount
In Miro transaction when i see line items
I.e i can display Material, PO number and amount.
If i click on follow on documents i can display GL wise amount.
Now my requirement is for each material what is the
GR/IR Gl and its amount.
Cenvat GL and its amount
Vat receivable and its amount. ETC.
material wise i need to display all this information.
Format
IV NO GR NO GR/IR GL Code GL desc
material code amount
cenvat GL code
material code amount
vat rece GL
material code amount.
In this way i need to display that in Purchase register.
So can any one help me how to related material GL code and its amount.
for GR/IR i can find val class and against its GL but for cenvat and
vat receivable how can i do that.
Requirement is very urgent.Hi,
Standard reports not avialbale for your requirment but Try with T.codes,
1.MB5L,
2.ME80FN,
3.MB5S
Regards,
Biju K
Edited by: Bijay Kumar Barik on Apr 16, 2008 3:12 PM -
In purchase register i need material wise Gl wise amount in amount
In Miro transaction when i see line items
I.e i can display Material, PO number and amount.
If i click on follow on documents i can display GL wise amount.
Now my requirement is for each material what is the
GR/IR Gl and its amount.
Cenvat GL and its amount
Vat receivable and its amount. ETC.
material wise i need to display all this information.
Format
IV NO GR NO GR/IR GL Code GL desc
material code amount
cenvat GL code
material code amount
vat rece GL
material code amount.
In this way i need to display that in Purchase register.
So can any one help me how to related material GL code and its amount.
for GR/IR i can find val class and against its GL but for cenvat and
vat receivable how can i do that.
Requirement is very urgent.There is no standard report to suit your requirement. You have to go for development report in ABAP
Maybe you are looking for
-
Is there a way in Oracle to return multiple rows as a single string?
Hi gurus, I just got help from your guys fixing my dynamic sql problem. What I am doing in that function is to return a single string from multiple rows and I use it in the select statement. It works fine once the problem was solved. But is there any
-
I was wondering if you guys could help me out with this. I am trying to implement an art gallery to show just an image and a next and previous button and I have modified the gallery.js to exclude the thumbnails. The data loads succesfully but the ima
-
Exception in execution of web service (Adaptative web service model)
Hi, I have a WSDL which is working fine in WS Navigator, but if I import it as model in WD JAVA and apply the template on component controller to read the service and execute the method wdDoInit, I am getting a run time error. the error occurs on the
-
Deleting nodes in tree structure
Hi All, I have created a classical tree strcuture. Now I need to implement a delete functionality. This should delete all the nodes that are selected. If the node is a parent node, then, when I press the delete button, I should find both the parent a
-
Hello I have been using a trial version of Elements 9 but decided that if I were going to buy Elements I may as well go for the latest version, so I have just downloaded 11. It won't open. I have updated the video card from the Intel Web site and ins