Total Qty in Audit Report
Hi,
In the Audit report for the items,it is showing the total value of the items at the end.But it is not showing the total qty.Can somebody guide me how to get that.
Thanks and Regards,
S.G.Sekar
Hi,
that is SAP default.
i'm afraid , if that could be done.
because there is not blank cell so that by Pressing CTRL + clicking the column header you can display total.
thanking you
Malhaar
Similar Messages
-
REM - Total Qty in each Reporting Points
Hai PP Gurus,
Actually i have 5 RP (Operations) for one FG.In Bacflushing i confirmed 2 RP. Like that i confirmed 25 Planned Ord. Now i want to check how many quantities are waiting for third operation(3rd RP) that means i want to check the total qty for waiting the next operation in each RP.
Pls throw some light on this......
Thanks & Regards,
S.GaneshrajaHi Ganesh,
Have u tried T.code MCRM. Inside the report u can see reporting point status by Drilldown option for selection.
please check and reward if it is usefull
regards
pradeep -
To get total qty delivered using ALV in a report
Hi All,
I am getting Quantity Delivered iout-lfimg in a ALV Report, in the last line I have to display total qty delivered. Can some one please help me to get this total qty delivered using ALV.
Thanks,
Veni.
FORM get_data.
SELECT Avbeln Akunag Avsbed Awadat_ist
Bwerks Bmatnr Blfimg Bvrkme
C~vbeln
INTO TABLE IDELI
FROM LIKP AS A
INNER JOIN LIPS AS B
ON avbeln = bvbeln
INNER JOIN VBFA AS C
ON Bvbeln = Cvbelv
AND BPOSNR = CPOSNV
WHERE A~VBELN IN S_VBELN
AND A~ERDAT IN S_ERDAT
AND A~ERNAM IN S_ERNAM
AND A~VSTEL IN S_VSTEL
AND A~VKORG IN S_VKORG
AND A~KUNAG IN S_KUNAG
AND A~VSBED IN S_VSBED
AND A~WADAT_IST IN S_WADAT
AND B~MATNR IN S_MATNR
AND B~WERKS IN S_WERKS
AND C~VBTYP_N = 'Q'.
ENDFORM. " get_data
FORM process_data.
loop at ideli.
if sy-subrc = 0.
concatenate ideli-vbeln ideli-ddeli into lv_wdelno.
MOVE ideli-vbeln TO iout-vbeln.
MOVE lv_wdelno TO iout-wdelno.
MOVE ideli-kunag TO iout-kunag.
MOVE ideli-vsbed TO iout-vsbed.
MOVE ideli-wadat_ist TO iout-wadat_ist.
MOVE ideli-werks TO iout-werks.
MOVE ideli-matnr TO iout-matnr.
MOVE ideli-lfimg TO iout-lfimg.
MOVE ideli-vrkme TO iout-vrkme.
endif.
append iout.
clear iout.
clear lv_wdelno.
endloop.
ENDFORM. " process_dataHi,
While building the fieldcatalog, for the total qty column use the below code :
gs_fieldcat-do_sum = 'X'.
Thanks,
Sriram Ponna. -
Urgent: regarding sub total button in alv report
hi,
i had made dis report and it is is fine till now,but now i want add the sub total field in it ,by making double click on the field sub-total should be displayed in it.
here is d code as i had tried the sub - total but when i execute it is giving some diferrent result.
*& Report ZTET2
REPORT ZTET2.
TABLES: ISEG,MARA.
TYPE-POOLS : SLIS.
DATA : DATE1(15) TYPE C,
DATE2(15) TYPE C,
TITLE(65) TYPE C,
DT(25) TYPE C.
DATA : ITEVENT TYPE SLIS_T_EVENT.
DATA: lv_sort TYPE slis_sortinfo_alv,
t_sort type slis_t_sortinfo_alv.
DATA : repid LIKE sy-repid.
INTERNAL TABLE FOR INVENTORY STOCK *****************
DATA: BEGIN OF ITS1 OCCURS 0,
MATNR LIKE ISEG-MATNR,
ITEMID(6) TYPE C,
MEINS LIKE ISEG-MEINS,
MENGE LIKE ISEG-MENGE,
WRTZL LIKE ISEG-WRTZL,
BUCHM LIKE ISEG-BUCHM,
WRTBM LIKE ISEG-WRTBM,
WERKS LIKE ISEG-WERKS,
BUDAT LIKE ISEG-BUDAT,
ZLDAT LIKE ISEG-ZLDAT,
MTART LIKE MARA-MTART,
ITEMDESC LIKE MAKT-MAKTX,
DIFFQTY LIKE ISEG-BUCHM,
DIFFVALUE LIKE ISEG-WRTBM,
GRUND LIKE ISEG-GRUND,
GRTXT LIKE T157E-GRTXT,
BWART LIKE T157E-BWART,
REAS TYPE C LENGTH 15,
END OF ITS1.
data: t_heading type slis_t_listheader.
SELECTION-SCREEN BEGIN OF BLOCK PAR1 WITH FRAME TITLE TEXT-001.
*SELECTION-SCREEN : BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
*********PARAMETERS*********
PARAMETERS : PLANT LIKE ISEG-WERKS OBLIGATORY.
*********SELECTION SCREEN OPTIONS*********
SELECT-OPTIONS : R_DATE FOR ISEG-BUDAT OBLIGATORY NO-EXTENSION,
M_TYPE FOR MARA-MTART,
IT_M FOR MARA-MATNR.
*********DEFINING VARIABLES*********
SELECTION-SCREEN END OF BLOCK par1.
CONCATENATE R_DATE-LOW6(2) '.' R_DATE-LOW4(2) '.' R_DATE-LOW+0(4) INTO DATE1.
CONCATENATE R_DATE-HIGH6(2) '.' R_DATE-HIGH4(2) '.' R_DATE-HIGH+0(4) INTO DATE2.
TOP-OF-PAGE.
PERFORM PG_HEADER.
START-OF-SELECTION.
SELECT AMATNR AMEINS AMENGE AWRTZL ABUCHM AWRTBM AWERKS ABUDAT AZLDAT BMTART AGRUND CBWART
FROM ISEG AS A INNER JOIN MARA AS B ON BMATNR = AMATNR
INNER JOIN MSEG AS C ON AMBLNR = CMBLNR
INTO CORRESPONDING FIELDS OF TABLE ITS1 WHERE BMATNR = AMATNR AND BMEINS = AMEINS AND AWERKS = PLANT AND ABUDAT IN R_DATE AND BMTART IN M_TYPE AND BMATNR IN IT_M.
LOOP AT ITS1.
ITS1-ITEMID = ITS1-MATNR+12(6).
ITS1-DIFFQTY = ITS1-MENGE - ITS1-BUCHM.
ITS1-DIFFVALUE = ITS1-WRTZL - ITS1-WRTBM.
SELECT SINGLE MAKTX FROM MAKT INTO ITS1-ITEMDESC WHERE MATNR = ITS1-MATNR.
SELECT SINGLE GRTXT INTO ITS1-GRTXT FROM T157E WHERE GRUND = ITS1-GRUND AND SPRAS = 'E' AND BWART = ITS1-BWART.
MODIFY ITS1.
ENDLOOP.
PERFORM PRN_SMSTOCK_ALV.
WRITING DATA FROM D TABLES**********
FORM PG_HEADER.
WRITE : 'PHYSICAL INVENTORY AUDIT REPORT PLANT : ', PLANT.
ENDFORM.
*& Form PRN_SMSTOCK_ALV
text
--> p1 text
<-- p2 text
form PRN_SMSTOCK_ALV .
data: w_title type lvc_title,
w_repid type syrepid,
w_comm type slis_formname,
w_status type slis_formname,
x_layout type slis_layout_alv,
t_event type slis_t_event,
t_fieldcat type slis_t_fieldcat_alv,
t_subtot TYPE slis_t_sortinfo_alv,
subtot LIKE LINE OF t_subtot.
refresh t_fieldcat.
refresh t_event.
refresh t_sort.
clear x_layout.
clear w_title.
perform set_fieldcat2 using:
1 'MTART' 'MTART' 'MARA' '15' space 'MATERIAL TYPE' space space space space space space space space SPACE t_fieldcat 'L' 'L',
2 'ITEMID' 'ITEMID' 'MARA' '7' space 'ITEM ID' space space space space space space space space SPACE t_fieldcat 'R' 'C',
3 'ITEMDESC' 'MAKTX' 'MAKT' '25' space 'MATERIAL DESCRIPTION' space space space space space space space space SPACE t_fieldcat 'L' 'C',
4 'MEINS' 'MEINS' 'MARA' '5' space 'UOM' space space space space space space space space SPACE t_fieldcat 'C' 'C',
5 'MENGE' 'MENGE' 'ISEG' '13' space 'ORG.INV.QTY' space space space space space space space space SPACE t_fieldcat 'R' 'C',
6 'WRTZL' 'WRTZL' 'ISEG' '13' space 'ORG.INV.VALUE' space space space space space space space space SPACE t_fieldcat 'R' 'C',
7 'BUCHM' 'BUCHM' 'ISEG' '13' space 'PHY.INV.QTY' space space space space space space space space SPACE t_fieldcat 'R' 'C',
8 'WRTBM' 'WRTBM' 'ISEG' '13' space 'PHY.INV.VALUE' space space space space space space space space SPACE t_fieldcat 'R' 'C',
9 'DIFFQTY' 'MENGE' 'ISEG' '13' space 'DIFF.INV.QTY' space space space space space space space space SPACE t_fieldcat 'R' 'C',
10 'DIFFVALUE' 'WRTZL' 'ISEG' '13' space 'DIFF.INV.VALUE' space space space space space space space space SPACE t_fieldcat SPACE 'P',
11 'BUDAT' 'BUDAT' 'ISEG' '18' space 'CORRECTED DATE' space space space space space space space space SPACE t_fieldcat 'C' 'C',
12 'GRTXT' 'GRTXT' 'ISEG' '18' space 'REASON' space space space space space space space space SPACE t_fieldcat 'L' 'L',
13 'REAS' 'REAS' 'ISEG' '18' space 'AUTH.BY' space space space space space space space space SPACE t_fieldcat 'C' 'C'.
x_layout-zebra = 'X'.
perform set_top_page_heading using t_heading t_event.
perform set_events using t_event.
perform get_subtotals.
w_status = ''.
w_repid = sy-repid.
w_comm = 'USER_COMMAND'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = w_repid
it_fieldcat = t_fieldcat
i_Callback_top_of_page = 'Top-of-page'
is_layout = x_layout
it_sort = t_sort
i_callback_pf_status_set = w_status
i_callback_user_command = w_comm
i_save = 'X'
it_events = t_event
i_grid_title = w_title
tables
t_outtab = ITS1
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM.
FORM set_fieldcat2 USING
p_colpos p_fieldname p_ref_fieldname p_ref_tabname
p_outputlen p_noout
p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
p_hotspot p_showasicon p_checkbox p_edit
p_dosum
p_subtot
t_fieldcat TYPE slis_t_fieldcat_alv
P_JUST
P_FTYPE.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
CLEAR wa_fieldcat.
General settings
wa_fieldcat-fieldname = p_fieldname.
wa_fieldcat-col_pos = p_colpos.
wa_fieldcat-no_out = p_noout.
wa_fieldcat-hotspot = p_hotspot.
wa_fieldcat-checkbox = p_checkbox.
wa_fieldcat-icon = p_showasicon.
wa_fieldcat-do_sum = p_dosum.
wa_fieldcat-t_subtot = p_subtot.
Set output length.
IF NOT p_outputlen IS INITIAL.
wa_fieldcat-outputlen = p_outputlen.
ENDIF.
Set text headers.
IF NOT p_seltext_m IS INITIAL.
wa_fieldcat-seltext_m = p_seltext_m.
ENDIF.
IF NOT p_seltext_l IS INITIAL.
wa_fieldcat-seltext_l = p_seltext_l.
ENDIF.
IF NOT p_seltext_s IS INITIAL.
wa_fieldcat-seltext_s = p_seltext_s.
ENDIF.
IF NOT p_reptext_ddic IS INITIAL.
wa_fieldcat-reptext_ddic = p_reptext_ddic.
ENDIF.
IF NOT p_ddictxt IS INITIAL.
wa_fieldcat-ddictxt = p_ddictxt.
ENDIF.
IF NOT P_JUST IS INITIAL.
WA_FIELDCAT-JUST = P_JUST.
ENDIF.
IF NOT p_edit IS INITIAL.
wa_fieldcat-Input = 'X'.
wa_fieldcat-edit = 'X'.
wa_fieldcat-do_sum = 'x'.
wa_fieldcat-p_subtot = 'x'.
ENDIF.
APPEND wa_fieldcat TO t_fieldcat.
ENDFORM. "set_fieldcat2
======================== Subroutines called by ALV ================
*& Form top_of_page
Called on top_of_page ALV event.
Prints the heading.
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_heading.
ENDFORM.
form set_top_page_heading using t_heading type slis_t_listheader
t_events type slis_t_event.
data: x_heading type slis_listheader,
x_event type line of slis_t_event.
Report title
clear t_heading[].
clear x_heading.
x_heading-typ = 'H'.
x_heading-info = 'PHYSICAL INVENTORY AUDIT REPORT'.
append x_heading to t_heading.
Plant Name
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'PLANT : '.
x_heading-info = PLANT.
append x_heading to t_heading.
IF DATE2 = '00.00.0000'.
CONCATENATE DATE1 'to' DATE1 INTO DT SEPARATED BY SPACE.
ELSE.
CONCATENATE DATE1 'to' DATE2 INTO DT SEPARATED BY SPACE.
ENDIF.
X_heading-TYP = 'S'.
X_heading-key = 'PERIOD :'.
X_heading-INFO = DT.
APPEND x_heading TO t_heading.
Control Date
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'CONTROL NO. :'.
x_heading-info = ' ASDFADDFAAS DATE : 11.04.2007'.
append x_heading to t_heading.
Control date
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'CONTROL DATE : '.
x_heading-info = ''.
append x_heading to t_heading.
Time of execution
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'DATE : '.
write sy-DATUM to x_heading-info.
append x_heading to t_heading.
Top of page event
x_event-name = slis_ev_top_of_page.
x_event-form = 'TOP_OF_PAGE'.
append x_event to t_events.
endform.
FORM get_subtotals.
CLEAR lv_sort.
lv_sort-fieldname = 'MENGE'.
lv_sort-up = 'X'.
lv_sort-subtot = 'X'.
APPEND lv_sort TO t_sort.
clear lv_sort.
*lv_sort-fieldname = 'MENGE'.
*lv_sort-tabname = 'ITS1'.
*lv_sort-subtot = 'X'.
*APPEND lv_sort TO t_sort.
lv_sort-fieldname = 'WRTZL'.
lv_sort-tabname = 'ITS1'.
lv_sort-subtot = 'X'.
APPEND lv_sort TO t_sort.
clear lv_sort.
lv_sort-fieldname = 'BUCHM'.
lv_sort-tabname = 'ITS1'.
lv_sort-subtot = 'X'.
APPEND lv_sort TO t_sort.
clear lv_sort.
lv_sort-fieldname = 'WRTBM'.
lv_sort-tabname = 'ITS1'.
lv_sort-subtot = 'X'.
APPEND lv_sort TO t_sort.
clear lv_sort.
lv_sort-fieldname = 'DIFFQTY'.
lv_sort-tabname = 'ITS1'.
lv_sort-subtot = 'X'.
APPEND lv_sort TO t_sort.
clear lv_sort.
lv_sort-fieldname = 'DIFFVALUE'.
lv_sort-tabname = 'ITS1'.
lv_sort-subtot = 'X'.
APPEND lv_sort TO t_sort.
clear lv_sort.
ENDFORM.
form set_events using t_events type slis_t_event.
data: x_event type line of slis_t_event.
endform.
PLZ HELP ME and definately get rewarded.hi,
how did u declared ur internal table?
Declare a dummy field in your internal table to trigger subtotal text event.
TYPES: BEGIN OF ty_ekpo,
lifnr TYPE ekko-lifnr, "vendor number
ebeln TYPE ekko-ebeln, "purchase document number
ebelp TYPE ekpo-ebelp, "Item Number of Purchasing Document
matnr TYPE ekpo-matnr, "Material Number
bukrs TYPE ekpo-bukrs, "Company Code
werks TYPE ekpo-werks, "Plant
d, "Dummy field to fire the Subtotal text event
END OF ty_ekpo.
Prepare field catalog for that dummyfield also and set attributes like below
wa_fcat-col_pos = 7.
wa_fcat-fieldname = 'D'.
wa_fcat-tabname = 'IT_EKPO'.
wa_fcat-ref_fieldname = 'NETPR'.
wa_fcat-ref_tabname = 'EKPO'.
wa_fcat-no_out = 'X'.
APPEND wa_fcat TO it_fcat.
Fill sortinfo table as follows
wa_sort-spos = 1.
wa_sort-fieldname = 'LIFNR'.
wa_sort-tabname = 'IT_EKPO'.
wa_sort-up = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 2.
wa_sort-fieldname = 'D'.
wa_sort-tabname = 'IT_EKPO'.
wa_sort-up = 'X'.
wa_sort-group = 'UL'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort.
fill the event table
wa_event-name = 'SUBTOTAL_TEXT'. "--> this event is used to trigger subtotal text
wa_event-form = 'SUBTOTAL'.
APPEND wa_event TO it_event.
*& Form subtotal
FORM subtotal USING i_listhead STRUCTURE wa_ekpo i_subtotal TYPE slis_subtot_text.
READ TABLE it_sort INTO wa_sort WITH KEY fieldname = 'D'.
IF sy-subrc = 0.
IF i_subtotal-criteria = 'D'.
i_subtotal-display_text_for_subtotal = 'Sub total'.
ENDIF.
ENDIF.
ENDFORM. "subtotal
Thanks & REgards -
Variance between G/L and audit report incase of Landed cost
Hi,
Scenario
GRPO : 17000 qty dated 01.09.09
Goods issue :15000 qty 05.09.09
Landed cost: 17000Qty dated 10.09.09
when we post the landed cost the system will post the journal entry based on total qty 17000.
But if i see the audit report,value is shown for only 2000qty and rest is posted to price difference account.
In this case how is it possible to reconcile the G/L and the audit report?
Please help
thanks
Md.nazeer ShaikhHi,
Thanks for the replies.
Yes this is the first time i am experiencing these results.
SAP 2005B PL:15
Thanks
Md.nazeer Shaikh -
Hide grand total field on ALV report, But keep the sub total fields
Dear Experts,
1) How to hide grand total field on ALV report, But keep the sub total fields.
2) How to populate rate per ton & calculate total price according to the qty in delivering document.Dear Experts,
1) How to hide grand total field on ALV report, But keep the sub total fields.
2) How to populate rate per ton & calculate total price according to the qty in delivering document. -
Inventory Audit Report and Inventory G/L Account discrepancy
Good Day!
Hi Everybody. I had experienced a discrepancy between the Inventory Audit Report and Inventory G/L Account.
Before everything else, our client does not have any PO, GRPO. Only A/P Invoice and A/P Credit Memos so there are no difference being posted.
There were also no transactions posted directly in Inventory G/L Account but from observation, there is a minor difference. This only happened with two transactions in AP Invoice with Negative Quantity.
The AP Invoice is composed of a single item, the unit price is 180.00 x -58 pcs quantity. Total amount is -10,440.00.
G/L Account posting is
Inventory 10,440.00
A/P 10,440.00
In the FIFO layering, the item cost is 200.00 (based on the current stock value) and the current stock quantity before posting is 80 pcs . Since this is a negative quantity A/P Invoice, it seems that the cost of the item when the transaction will be posted is 200 (based on the current stock value) so when I view the Inventory Audit Report amount, it says the inventory cost/posting is -11,600 (200 x -58).
But on actual G/L Account, the posting is -10,440.00 from A/P Invoice, that's why the inventory discrepancy occurs. It seems that SAP B1's Inventory Audit Report confuses the FIFO cost posted versus G/L Account's posted based on the document. Since the document is A/P Invoice, SAP B1 assumes that the transaction will post the amount as the additional inventory cost and posting the inventory cost into Inventory G/L Account. However, since this is a negative document, the system is releasing the items, thus, FIFO kicks in. The Inventory Audit Report catches the amount based on FIFO costing. The problem is that the Inventory Audit Report is more accurate than the Inventory G/L Balance.
Any suggestion to fix this guys?HI,
i'my afraid you're in the wrong place. This is the Chinese forum. Please go to SAP Business One Application for help.
Best -
SSRS 2008, have this report
Qty Column --------- Est cost column ----- Mark up Cost Column - Did add Total cost column
4 pcs- $ 2000.00 --------------$ 50.00 --------------- $ 2050.00
Avg Cost
$2050/4= 512.50
how to write this exp to get value $ 512.50
what I did , its not giving me correct result,
=Sum(Fields!estCOSTAMOUNT.Value+Fields!COSTMARKUP.Value)/(Fields!QTY.Value)
can some one please advise what I am doing wrong.
thanks in advanceI tried both exp, did not work
may be I was not clear in the question
Qty Column --------- Est cost column ----- Mark up Cost Column - Did add Total cost column
4 pcs- $ 2000.00 --------------$ 50.00 --------------- $ 2050.00
2 pcs ------------------$ 1500.00 --------------=$100.00 ----------------$1600.00
Total qty 6 pcs-----$ 3500.00------------------$150.00---------------$ 3650.00
Avg Cost
$3650..00/6= 608.33
my field name
=Sum(Fields!COSTAMOUNT.Value) + want to add cost amount and Mark up and divide with qty total
=Sum(Fields!COSTMARKUP.Value)
=Sum(Fields!QTY.Value)
please help how can I write it to get the result -
Bug in Inventory Audit Report before upgradation from SAP B1 2004B to 2005B
Sir,
We upgraded SAP Business One 2004B to SAP Business One 2005B on 26/05/2007. Earlier we were having SAP B1 2004 in which therer was no Inventory Audit Report function in Inventory Reports. After upgradation if we take Inventory Audit Report, the closing quantity of the stock is shown is correct but the value for negative stock quantity is wrong for period before upgradation i.e.upto 26/05/2007. The difference is exactly double of the stock value of that item. The closing quantity and value is OK if we run the report for the period after upgradation i.e. from 27/05/2007 to till date.
For e.g.
If we make A.P.Credit Memo for an item qty.20 value INR 20,000/- based on A.P.Invoice and take Inventory Audit Report, the qty.is posted as -20 but the value is posted as INR 20,000/- but actually it should be INR -20,000/-. That is the value is taken twice of the original value.
Reagrds,
Vishal TakteHi Vishal,
Please contact SAP Support for your problem; I think they should be able to help you to fix the problem.
Sorry for any inconvenience,
Frank
PS: Please note that such "application-related" questions fit best into the "SAP Business One" Forum...
Message was edited by:
Frank Moebius -
AP Credit Memo and Good return, creates differences between TB and Stock Audit Report
Hello Experts,
Did any one has ever faced an issue, whereby AP Credit Memo and Good Return creates discrepancy between journal entry and the stock audit report?
Here is the scenario:
AP Credit Memo
Description
Quantity
Unit Price
Total
Item A
30
3,400
102,000
Journal Entry :
Debit
Business Partner
105,000
Credit
Stock
105,000
Inventory Audit Report
Description
Quantity
Cost
Transaction Amount
Item A
30
3,500
105,000
Journal Entry :
Debit
Business Partner
105,000
Credit
Stock
105,000
The difference is actually due to the moving average, but the strange part is why the difference is not posted in the journal entry, in the Price different account?
This makes the stock account amount to be different from the Trial Balance and the Stock Audit Report.
And this is applied also on the Good Return transaction.
Any help is highly appreciated.
Best Regards
Cedric KayitareHi Cedric,
Price & Item cost are different.
while making goods return , Direct AP Credit Note, Sales Delivery, Direct AR Invoice, stock is going outside.
In these transactions Journal entry will happen for Item cost and not Item sales or Purchase price.
Please enable item cost field in line level and check whether above formulae is matching with Item, cost field.
Then what is the importance of price in these documents??
Price is the agreed selling or purchase price for trading with Customer and supplier.
In your example
You are returning back material worth 105000(as per moving average price), but supplier is supposed to give only you 102,000.
Hope you understand
Thanks
Unnikrishnan -
Display Total in Group Above Report
Hello,
I have a group above report with month, product_id, product_name as group above fields I have product_entry_date, description, total_qty, actual_qty etc as display fields in my report.
I would like to have a total and grand total for total_qty and actual_qty for product_id and product_name. Issue I am having is when I add a summary column for total_ qty and actual_qty, total is getting displayed for each month.
How can I display total and grand for total_qty and actual_qty?
Any help is highly appreciable.
Thanksponic wrote:
Hello,
I have a group above report with month, product_id, product_name as group above fields I have product_entry_date, description, total_qty, actual_qty etc as display fields in my report.
I would like to have a total and grand total for total_qty and actual_qty for product_id and product_name. Issue I am having is when I add a summary column for total_ qty and actual_qty, total is getting displayed for each month.
How can I display total and grand for total_qty and actual_qty?
Any help is highly appreciable.
ThanksIf you want to display total qty for each month and you already done it. as you says..
total is getting displayed for each month.If not ,
Take a summary column at month group >> at properties .. Summary Function : Sum , Reset at month group.
and for grand total
take a summary column outside the query. >> at properties .. Summary Function : Sum , Reset at report.
Hope it works.
hamid
If someone's response is helpful or correct, please mark it accordingly. -
We used the Inventory Audit Report to determine inventory value ending in a specific period. It seems to work okay but it lists every single item in our inventory.
We are looking for more of a summary report. The only option we have for this is by product category. However, we want it a little more detailed than this.
So, is there any way to show the report summarized by our Style #'s? We have have colors and sizes associated with each style. We do not need to know total for each color and size.
We just want the total for each Style #, which is the first four digits of our Item Code. Theses first four digits are unique for each Style. Can a Query be built to just show this summary?
So...would have the following info...
Style #...Total Items...Total Cost...Most Recent Item Cost
Can something like this be built?
Thanks!!!
MikeTo backdated the history is the most challenge task to complete. Please be patient to check the query results from below:
SELECT Distinct SubString(t0.ItemCode,1,4) 'Style #', Sum(T0.InQty - T0.OutQty) 'Total Items', Sum(T0.InQty - T0.OutQty) *Avg(Case When T1.LastPurPrc = 0 then t2.AvgPrice else T1.LastPurPrc end) 'Total Cost', Sum(T0.TransValue) 'Check', Avg(Case When T1.LastPurPrc = 0 then T2.avgprice else T1.LastPurPrc end) 'Most Recent Item Cost'
FROM OINM t0
Inner Join OITM T1 on T1.ItemCode =T0.ItemCode
Inner Join OITW T2 on T2.ItemCode = t0.ItemCode
WHERE T0.DocDate <= '[%0\]' and T0.InQty != T0.OutQty
Group By SubString(t0.ItemCode,1,4)
Order By SubString(t0.ItemCode,1,4)
I have to get data from OINM table in which to get history quantity is fine but may not be able to find the old value easily.
Thanks,
Gordon -
Inventory Audit Report - Zero quantity but with value
Hi All,
Our client are using FIFO costing, due to some backdated transaction we get 0 Qty but the value is not 0 when running Inventory Audit Report base on posting date (system date is fine) at the month end. I understand that the system calculate the cost base on system date and this is system behavior.
So, i just wanted to seek for advice from any expert in accounting especially on costing, will this 0 Qty with value report be accepted by auditor and will it caused any legal issue or this accounting practice is acceptable?
Thanks.Dear Mr Kong,
From what you said it looks like opening a message for this issue is the appropriate action this time.
The stock group will give you an update on this issue.
Kind Regards,
Marcella Rivi
SAP Business One Forums Team -
Hi All,
I have a bit of an unusual request. Each month we run an audit report for corporate marketing examining each instance where a PO was created after the invoice date. Now weu2019d like to examine the total # of these violations in comparison to the total # of POu2019s created during the FY08 for Corporate Marketing . Do you know of any SAP transaction that could be used to pull this information?
Is it possible to find out how many total POu2019s there were in FY08 so we can determine the late POu2019s as a % of the total?
It is a very urgent request.
Thanks,
ShravyaHi Shravya,
I dont think you will get the data directly from any table or transaction.
You need to join BSEG (Accounting document Line item) table EKKO (PO Header table) & BKPF (Accounting doc Header) table
In BSEG, you have EBELN (Purchase document, nothing but PO Number).
You need to join EKKO-EBELN with BSEG-EBELN and
join BSEG-BELNR with BKPF-BELNR
Check for PO's created after invoice date (Hoping your Invoice date is the Posting date)
Then give below condition that
EKKO-AEDAT is greater than BKPF-BUDAT
This output will give the PO's that are created after invoice date.(ex: say 100 PO's)
You can pull out number of PO's created during a period from EKKO (ex: say 1000 PO's)
So these two figures will give you the %, that you are looking for. ( then ur % of default PO's will be 10%)
Let me know if you need any further info.
Thanks
Kalyan -
File-XI-SAP Control/Audit Report
Hi,
Any suggestions on the best way to obtain a control report when inputting data into SAP via XI.
For example. Input file contains five records each containing a field with a value of 100. I need a summary report containing a line to say - Total value = 500. Pretty simple requirement when just using ABAP to read a file and process it, but XI.....
I think there are several options but I would like some advice. Options as I see it are :
1. Pass whole file as a single payload into SAP, and process almost as I would have done using traditional ABAP logic.
2. Individual IDOC's for each record then have a separate report to evaluate the IDOC's. In which case I would need a way of recording which IDOC's came from which file....
3. Use a BPM to trigger the control report either pre or post file processing.
Any practical advice greatly appreciated.
NigelHi Nigel,
>>>>3. Use a BPM to trigger the control report either pre or post file processing
in my opinion this one is the most flexible, why?
because this way you separate standard communication logic from the audit reporting
if your audit reporting needs will change you don't have to touch the standard communication just change
the "pre or post file processing"
but obviously it also depends on your scenario:
number of messages, BPM usage, etc...
Regards,
michal
Maybe you are looking for
-
How to connect a tv numeric box to my toshiba videoprojecteur ?
I want to join a peritel tv output , to a svideo or a yuv input. with the standard connectique, composite is ok (but bad quality) and svideo is black and white.
-
Configuration of internal PI 7.0 communications to use https
I am looking for some clear documentation on how to do this. I have read through the documentation discussing this but it does not specifically tell you the steps. This is the type of verbiage I have found: "The components of a process integration
-
Is it possible to obtain the instance id in a BPEL process to assign it to a variable? Thanks, Rafikki
-
Offset subtitles from a stl file
Hello, I tried to search the forum but found one related thread regarding offsetting subtitles from an imported stl file. That thread (somebody complaining that they couldn't select and move two or more subtitles in dvdsp 2, still not possible in 4 b
-
Inbound IDOC error 51 Application Document not posted
Inbound IDOC error 51: Item: 002 Goods/Service number not entered So application document not posted. Please help me out