Reprinting of GRN
Hi,
Let me know how to take a reprint on posted GRN. (same as previous copy),
Tks in adv.
The GRN which you see at MIGO is a GUI and you need to check the standard output types used for MIGO to pribt the GRN ,at sprommim--messages and chck the form related to that and use the output type at the t code.
Regards,
Similar Messages
-
GRN Report for 103 and 105 movement
Hi all
IS there any report available in SAP
Like i have done GRN with movement type 103 and 105
So i want to know for a specific plant against specific movement type let us say
my po is of 100 quantity
i have done GRN for 20 qty mov type 103 and 20 qty with mov type 105
GRN of 40 qty mov type 103 and 4 qty with mov type as 105
grn 20 qty with mov type 103
grn 20 qty with mov type as 103
so i want a report material doc created for mov type 105 w.r.t 103 mov type material doc
and only 103 material doc whose 105 is not done
plz give me ur valuable input
regds
shaileshya that is possible to get but not thorug standard MB51
look do this way create a query in SQVI
select tables MSEG and MKPF , EKBE now from this table select the field movement type as selection critera and posting date , plant etc.
now select the field MSEG,Movement type, PO no.
i will give you the logic system should select the material document for movement type 105 then against this material document you can get the po now(that is already there in mb51 just change the layout) now from the purchase odere no selected you can get the material document for movement type 103 from table EKBE that is purcahse order history . check with abaper by using this logic -
FI MM integration _ Non valuated GRN
Hi
In FI MM integration if you acquire an asset through PO the asset value gets captured automatically.
For single asset - One PO one asset - there is no problem - at the time of MIGO (Goods receipt) the GRN becoems "valuated" and asset get the value automatically.
For multiple account assignement - One PO - MORE THAN ONE ASSETS - the GRN becomes "non valuated " (automatically- the field is grayed out). The account document will not be generated. The asset value will be captured on the MIRO date.
1) Would it be a good practice? Ideally asset value date should be GRN date ..
2) If anyone has worked on this - pl. guide me as to how can i valuate the GRN for multiple account assignment.
regd
VedavateeYes Veda,
When you have multi account assignement in PO, GRN Non-valuated option automatically de-activated (greyd out).
ME23N - Item data - Delivery - GR Non-Valuated
This is Standard SAP behaviour.
At the time MIRO, the entry will post as per the Account assignment given in PO - Splitting structure.
There is no other way to do it.
PO - Multi account assignment - GRN Non-valuated.........This is right approch as of today
You are correct, go ahead
Thanks -
In import GRN - excise duty is wrongly updating..
hi frnds..
In import GRN - excise duty is wrongly updating.. How to resolve this...
Regards
Raghav.KHHi,
After Bill of Entry(MIRO), when u do MIGO, pop up will appear, where ur BOE number will reflect, make sure that u r putting year as 2009.
Regards,
Piyush -
Print out in MB90 for GRN is not coming in English
Dear Friends,
While taking the print out in MB90 for GRN document, it is not coming in English.It is coming in some unreadableformat.
In MN21 I have mentioned the language as EN.
In the configuration of output type WE03 I have mentioned the language as EN intransaction code M706.
A reply will be highly appreaciated.
Regards
Rutabhadra Pandahi
check whether the printer you installed is having the proper driver. -
Report for conversion payment of vendor against grn quantity.
Dear all,
In our scenario, we are doing conversion payment of vendor against SCO (subcontracting order) on the basis of GRN quantity. But, I am unable to found that how much conversion payments are pending against grn quantity in one month. Is there any report to found or any other process except through purchase order history of any order. Plz help me.
Thanks & regards
RahulHI,
first thing payment not update in Po history and its sap standard.because you pay give payment to vendor against two different PO.
for that you have to open MIRO means invoice document and check in that clearance document is there or not.
if clearance document means payment is done.in report ME80FN execute that report and then select change icon from header
and then select Po history
now you will get report PO-MIGO-MIRO
now click on miro then open account document and check clearing document there for invoice .
Regards
Kailas Ugale -
Distinct count of GRN's in Query PLD
hi all,
We have developed a daily grn report and designed report
using Query PLD.
Report contains
(grn no,date,vendor name,vendor ref no,item code,item
description,quanity & line total)
We want to display no of grn's(distinct count)
@ repetitive area footer.
Is there any function available in formula field to display
distinct count of no. of grn's ? / It should done thru query.
Thanks,
with regards,
A.Jeyakanthanit will be hard from PLD, instead u can have ur query like,
SELECT 'Details', ' ',T0.Docnum, T0.CardName, .... FROM OPDN T0 WHERE Month( T0.DocDate ) = Month ('{%0]')
Union
SELECT 'Counts', count(T0.DocNum) as 'Doc(s) No', ' ', ' ', ... FROM OPDN T0 WHERE Month( T0.DocDate ) = Month ('{%0]')
(Replace { with [ )
Note ' ' is a gap in order to fill the other fields. in first query have given tht ' ' gap purposely so tht the display will not affect ur designing part
union is used b'coz Count() fn is like aggregate, so wont allow further individual fields coming along with it.
the 2nd query will occupy only one row, which by grouping u can separate and can hide from repetitive and take the value via formula field by writing that field's id to it into Footer Area.
Regards,
Dhana.
Edited by: Dhanalakshmi C on Mar 5, 2008 1:31 PM -
EDI vendor invoices do not get posted before GRN is posted
Hello All,
The requirement is our vendor sends EDI invoices and they get parked in SAP as IDOCs. IDOC gets posted if GRN exist for a PO.
In purchase order it is GR based IV. If vendor parks invoice and there is no GRN for purchase order then IDOC fails and it goes in status 51 (Error).
Our requirement is, IDOC should get posted even if there is no GRN for a purchase order and client do not want to remove GR based IV tick from PO. After through verification of the parked invoice it gets posted in the system.
We have done the config change in MM>>LIV>>EDI>Enter program parameters, we have maintained value "1" for field "Processing". Inspite of this change system does not process inbound ICOCs and they go in error (51) status.
Please provide solution for this.
Thanks & regards.
SanjayHello Jurgen,
The change in piece of code suggested in SAP note no. 501524 was already implemented in our syste, However still invoice IDOC fails and it goes in error "status 51" as there is no GRN for that purchase order. However if material GRN is made for 1 qty then the invoice gets parked with the full amount even if the GRN is for 1 no.
Please suggest a suitable solution.
Thanks.
Sanjay -
Grn report(goods receipt notice)
hi to all sdn people can u pls give coding for this if u give the answer i will be greatful to u and i will reward point to all of u
my report is as follows
a report for grn details which shows the all details of goods receipt movements based on the purcahse order.
and pls tell what is the pupose of this report and tables usedHi
Use the Tables
EKKO,EKPO --PO tables and
MKPF and MSEG Tables GRN related.
This report is useful to track the qty of ggods/materials received with respect to the PO's placed.
see the sample code and change the output as per your requirement.
*& Report ZMM_PO_REPORT
REPORT ZMM_PO_REPORT message-Id yb
NO STANDARD PAGE HEADING
LINE-COUNT 60(1)
LINE-SIZE 230.
D A T A B A S E T A B L E S D E C L A R A T I O N
TABLES: lfa1, " Vendor Master
t161, " PO Doc Types
t024, " Purchase Groups
ekko. " PO Header
T Y P E S D E C L A R A T I O N S
Purchase Orders Main Structure
TYPES: BEGIN OF s_po,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
bstyp TYPE bstyp, " PO Category
bukrs TYPE bukrs, " Company Code
bsart TYPE bbsrt, " PO Type
lifnr TYPE lifnr, " Vendor No
ekgrp TYPE bkgrp, " Purchase Group
waers TYPE waers, " Currency
bedat TYPE etbdt, " PO Date
txz01 TYPE txz01, " Material Text
werks TYPE ewerk, " Plant
lgort TYPE lgort_d, " Storage Location
matkl TYPE matkl, " Material Group
menge TYPE bamng, " PR Quantity
meins TYPE bamei, " UOM
bprme TYPE bbprm, " Price Unit
netpr TYPE netpr, " Net price
peinh TYPE peinh, " Price Unit UOM
pstyp TYPE pstyp, " Item Category
knttp TYPE knttp, " Account Assignment Category
END OF s_po.
Purchase Orders History Structure
TYPES: BEGIN OF s_account,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
gjahr TYPE mjahr, " Fiscal Year
belnr TYPE mblnr, " PO Invoice No
menge TYPE menge_d, " PR Quantity
wrbtr TYPE wrbtr, " Price in Local Currency
dmbtr TYPE dmbtr, " Price in Foreign Currency
waers TYPE waers, " Currency
shkzg TYPE shkzg, " Dr/Cr Indicator
END OF s_account.
Purchase Orders History Structure(Item Sum)
TYPES: BEGIN OF s_inv_sum,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
menge TYPE menge_d, " PR Quantity
wrbtr TYPE wrbtr, " Price in Foreign Currency
waers TYPE waers, " Currency
END OF s_inv_sum.
Purchase Orders Main Structure
TYPES: BEGIN OF s_rep,
lifnr TYPE lifnr, " Vendor No
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
bstyp TYPE bstyp, " PO Category
bsart TYPE bbsrt, " PO Type
ekgrp TYPE bkgrp, " Purchase Group
waers TYPE waers, " Currency
bedat TYPE etbdt, " PO Date
txz01 TYPE txz01, " Material Text
werks TYPE ewerk, " Plant
lgort TYPE lgort_d, " Storage Location
matkl TYPE matkl, " Material Group
menge TYPE bamng, " PR Quantity
meins TYPE bamei, " UOM
bprme TYPE bbprm, " Price Unit
netpr TYPE netpr, " Net price
peinh TYPE peinh, " Price Unit UOM
pstyp TYPE pstyp, " Item Category
knttp TYPE knttp, " Account Assignment Category
name1 TYPE name1, " Plant
orewr TYPE netpr, " To be Invoiced Price
curr TYPE waers, " Inv Doc Currency
END OF s_rep.
D A T A D E C L A R A T I O N S
DATA: gv_title1 TYPE sylisel, " Report title
gv_dial. " Color flag
C O N S T A N T S D E C L A R A T I O N S
CONSTANTS: c_x VALUE 'X', " Flag X
c_h VALUE 'H', " Debit
c_vgabe TYPE vgabe VALUE '2'. " Transaction Type
I N T E R N A L T A B L E S D E C L A R A T I O N S
DATA: i_po TYPE STANDARD TABLE OF s_po WITH HEADER LINE,
" Purchase Order
i_inv TYPE STANDARD TABLE OF s_inv_sum WITH HEADER LINE,
" PO Invoice Values
i_rep TYPE STANDARD TABLE OF s_rep WITH HEADER LINE,
" PO Invoice Values
i_ekbe TYPE STANDARD TABLE OF s_account WITH HEADER LINE.
" PO Invoice Values
S E L E C T I O N S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MATCHCODE OBJECT kred,
s_ebeln FOR ekko-ebeln MATCHCODE OBJECT mekk,
s_bsart FOR t161-bsart,
s_ekgrp FOR t024-ekgrp,
s_bedat FOR ekko-bedat.
SELECTION-SCREEN END OF BLOCK b1.
I N I T I A L I Z A T I O N *
INITIALIZATION.
A T S E L E C T I O N - S C R E E N *
AT SELECTION-SCREEN.
Validate the screen fields
PERFORM validate_screen.
S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Fetch main data
PERFORM fetch_data.
T O P - O F - P A G E *
TOP-OF-PAGE.
Header of the List
PERFORM header.
E N D - O F - P A G E *
Footer
END-OF-PAGE.
ULINE.
E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
Display the Report Output data
PERFORM display_data.
At Line-Selection
AT LINE-SELECTION.
When double clicked on EBELN display the details of Purchase Doc
PERFORM line_sel.
*& Form validate_screen
Validation of Selection Screen fields
FORM validate_screen .
Validation of Vendor Number
CLEAR lfa1-lifnr.
IF NOT s_lifnr[] IS INITIAL.
SELECT lifnr UP TO 1 ROWS
INTO lfa1-lifnr
FROM lfa1
WHERE lifnr IN s_lifnr.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Vendor'(002).
ENDIF.
ENDIF.
Validation of PO Number
CLEAR ekko-ebeln.
IF NOT s_ebeln[] IS INITIAL.
SELECT ebeln UP TO 1 ROWS
INTO ekko-ebeln
FROM ekko
WHERE ebeln IN s_ebeln.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Document Number'(003).
ENDIF.
ENDIF.
Validation of PO Document Type
CLEAR t161-bsart.
IF NOT s_bsart[] IS INITIAL.
SELECT bsart UP TO 1 ROWS
INTO t161-bsart
FROM t161
WHERE bsart IN s_bsart.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Purchase Document Type'(004).
ENDIF.
ENDIF.
Validation of Purchasing Group
CLEAR t024-ekgrp.
IF NOT s_ekgrp[] IS INITIAL.
SELECT ekgrp UP TO 1 ROWS
INTO t024-ekgrp
FROM t024
WHERE ekgrp IN s_ekgrp.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Purchasing Group'(005).
ENDIF.
ENDIF.
ENDFORM. " validate_screen
*& Form fetch_data
Fetching the PO related data from Database Tables
FORM fetch_data .
CLEAR i_po.
REFRESH i_po.
SELECT a~ebeln " PO No.
b~ebelp " PO Item
a~bstyp " PO Category
a~bukrs " Company Code
a~bsart " PO Type
a~lifnr " Vendor No
a~ekgrp " Purchase Group
a~waers " Currency
a~bedat " PO Date
b~txz01 " Material Text
b~werks " Plant
b~lgort " Storage Location
b~matkl " Material Group
b~menge " PR Quantity
b~meins " UOM
b~bprme " Price Unit
b~netpr " Net price
b~peinh " Price Unit UOM
b~pstyp " Item Category
b~knttp " Account Assignment Category
INTO TABLE i_po
FROM ekko AS a JOIN ekpo AS b
ON a~ebeln = b~ebeln
WHERE a~ebeln IN s_ebeln AND
a~lifnr IN s_lifnr AND
a~ekgrp IN s_ekgrp AND
a~bsart IN s_bsart AND
a~bedat IN s_bedat.
SORT i_po BY ebeln ebelp.
break-point.
IF NOT i_po[] IS INITIAL.
Fetch the PO History/Invoice Details from EKBE Table
CLEAR i_ekbe.
REFRESH i_ekbe.
SELECT ebeln " PO No.
ebelp " PO Item
gjahr " Fiscal Year
belnr " PO Invoice No
menge " PR Quantity
wrbtr " Price in Local Currency
dmbtr " Price in Foreign Currency
waers " Currency
shkzg " Dr/Cr Indicator
INTO TABLE i_ekbe
FROM ekbe
FOR ALL ENTRIES IN i_po
WHERE ebeln = i_po-ebeln AND
ebelp = i_po-ebelp AND
vgabe = c_vgabe.
break-point.
IF sy-subrc = 0.
SORT i_ekbe BY ebeln ebelp.
LOOP AT i_ekbe.
IF i_ekbe-shkzg = c_h.
i_ekbe-wrbtr = i_ekbe-wrbtr * -1.
ENDIF.
MODIFY i_ekbe.
ENDLOOP.
break-point.
Sum up the Item wise Invoice totals
LOOP AT i_ekbe.
AT END OF ebelp.
READ TABLE i_ekbe INDEX sy-tabix.
SUM.
MOVE-CORRESPONDING i_ekbe TO i_inv.
APPEND i_inv.
ENDAT.
CLEAR i_inv.
ENDLOOP.
SORT i_inv BY ebeln ebelp.
break-point.
ENDIF.
ENDIF.
Move the Vendor Name and Invoice Values to I_rep Internal Table
LOOP AT i_po.
MOVE-CORRESPONDING i_po TO i_rep.
CLEAR i_inv.
READ TABLE i_inv WITH KEY ebeln = i_po-ebeln
ebelp = i_po-ebelp.
IF sy-subrc = 0.
i_rep-orewr = ( i_po-menge - i_inv-menge ) * i_po-netpr.
i_rep-curr = i_inv-waers.
ELSE.
i_rep-orewr = i_po-menge * i_po-netpr.
i_rep-curr = i_po-waers.
ENDIF.
break-point.
Get the Vendor Name
CLEAR lfa1-name1.
SELECT SINGLE name1 FROM lfa1 INTO lfa1-name1
WHERE lifnr = i_po-lifnr.
IF sy-subrc = 0.
i_rep-name1 = lfa1-name1.
ENDIF.
APPEND i_rep.
CLEAR i_rep.
break-point.
ENDLOOP.
SORT i_rep BY lifnr ebeln ebelp.
DELETE i_rep WHERE orewr LE 0.
break-point.
ENDFORM. " fetch_data
*& Form display_data
Display the Report Output data
FORM display_data .
DATA: lv_flag, " New Flag
lv_rec TYPE i. " No of Records
CLEAR lv_rec.
IF i_rep[] IS INITIAL.
MESSAGE e000 WITH 'No Data found'(022).
ELSE.
LOOP AT i_rep.
Toggle Color
PERFORM toggle_color.
IF lv_flag <> space.
NEW-LINE.
ENDIF.
At New Purchase Document
AT NEW ebeln.
WRITE:/1 sy-vline, 2(10) i_rep-ebeln INTENSIFIED OFF.
lv_flag = c_x.
lv_rec = lv_rec + 1.
ENDAT.
WRITE: 1 sy-vline,
12 sy-vline,13(4) i_rep-bsart,
17 sy-vline,18(10) i_rep-lifnr,
28 sy-vline,29(35) i_rep-name1,
64 sy-vline,65(4) i_rep-ekgrp,
69 sy-vline,70(10) i_rep-bedat,
80 sy-vline,81(5) i_rep-ebelp,
86 sy-vline,87(40) i_rep-txz01,
127 sy-vline,128(9) i_rep-matkl,
137 sy-vline,138(1) i_rep-pstyp,
139 sy-vline,140(1) i_rep-knttp,
141 sy-vline,142(4) i_rep-werks,
146 sy-vline,147(4) i_rep-lgort,
151 sy-vline,152(13) i_rep-menge UNIT i_rep-meins,
165 sy-vline,166(3) i_rep-meins,
169 sy-vline,170(15) i_rep-netpr CURRENCY i_rep-waers,
185 sy-vline,186(4) i_rep-waers,
190 sy-vline,191(5) i_rep-peinh,
196 sy-vline,197(4) i_rep-bprme,
201 sy-vline,202(15) i_rep-orewr CURRENCY i_rep-curr,
217 sy-vline,218(4) i_rep-curr,
222 sy-vline,223(7) i_rep-bstyp centered,
230 sy-vline.
NEW-LINE.
hide: i_rep-ebeln.
ENDLOOP.
ULINE.
FORMAT COLOR OFF.
WRITE : /2 'Total Number of Purchasing Documents:'(025) COLOR 3,
lv_rec COLOR 3.
ENDIF.
ENDFORM. " display_data
*& Form header
Write the Report Header
FORM header .
FORMAT RESET.
header
WRITE:/1(230) 'LIST OF PURCHASE DOCUMENTS PER VENDOR'(006) CENTERED.
SKIP.
FORMAT COLOR COL_HEADING.
ULINE.
WRITE:/1 sy-vline,2(10) 'Pur.Doc.No'(006) CENTERED,
12 sy-vline,13(4) 'Type'(007),
17 sy-vline,18(10) 'Vendor'(008) CENTERED,
28 sy-vline,29(35) 'Name'(009) CENTERED,
64 sy-vline,65(4) 'PGrp'(010) CENTERED,
69 sy-vline,70(10) 'Doc.Date'(012) CENTERED,
80 sy-vline,81(5) 'Item'(011),
86 sy-vline,87(40) 'Material Short Text'(024) CENTERED,
127 sy-vline,128(9) 'Mat.Group'(013),
137 sy-vline,138(1) 'I',
139 sy-vline,140(1) 'A',
141 sy-vline,142(4) 'Plnt'(014),
146 sy-vline,147(4) 'SLoc'(015),
151 sy-vline,152(13) 'Quantity'(016) CENTERED,
165 sy-vline,166(3) 'UoM'(017),
169 sy-vline,170(15) 'Net Value'(018) CENTERED,
185 sy-vline,186(4) 'Curr'(019),
190 sy-vline,191(5) 'Per'(020),
196 sy-vline,197(4) 'Unit'(021),
201 sy-vline,202(15) 'To be Invoiced'(023) CENTERED,
217 sy-vline,218(4) 'Curr'(019),
222 sy-vline,223(7) 'Doc.Cat'(026),
230 sy-vline.
ULINE.
ENDFORM. " header
*& Form toggle_color
This routine alters the color of the records in the list
FORM toggle_color.
IF gv_dial = space.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
gv_dial = c_x.
ELSE.
FORMAT COLOR 1 INTENSIFIED OFF.
CLEAR gv_dial.
ENDIF.
ENDFORM. " toggle_color
*& Form LINE_SEL
*When double clicked on EBELN field display the details of Purchase Doc
FORM line_sel.
CASE sy-lsind.
WHEN '1'.
DATA: lv_field(20),
lv_value(10),
lv_bstyp like i_rep-bstyp.
clear: lv_bstyp,lv_value, lv_field.
GET CURSOR FIELD lv_field VALUE lv_value.
IF lv_field = 'I_REP-EBELN'.
IF NOT lv_value IS INITIAL.
READ LINE sy-index FIELD VALUE i_rep-bstyp
INTO lv_bstyp.
READ CURRENT LINE FIELD VALUE i_rep-bstyp INTO lv_bstyp.
if lv_bstyp = 'F'.
SET PARAMETER ID 'BES' FIELD lv_value.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
elseif ( lv_bstyp = 'K' or lv_bstyp = 'L' ).
SET PARAMETER ID 'VRT' FIELD lv_value.
CALL TRANSACTION 'ME33' AND SKIP FIRST SCREEN.
elseif lv_bstyp = 'A'.
SET PARAMETER ID 'ANF' FIELD lv_value.
CALL TRANSACTION 'ME43' AND SKIP FIRST SCREEN.
endif.
ENDIF.
ENDIF.
ENDCASE.
ENDFORM. " line_sel
Reward points if useful
Regards
Anji -
Report for IM (appropriation request ) and MM (PO/GRN)
Hi Friends,
Is there a report which shows the appropriation request (IM module) and the purchase order / grns created for a particular appropriation request (internal order).
pls. suggest...
PankajHi Friends,
Please refer revise query
Is there a report which shows the investment order-internal order (IM module) and the purchase order / grns created for a particular appropriation request (internal order).
pls. suggest... -
SQL Query to retriew open GRNs for Purchasning in R12
Hi All,
Can anybody help me by providing an SQL Query to retrieve all open GRNs in purchasing. As a part of re-implementation we are loading open balance from the existing system. In order to validate the open GRNs standard report is not apt results.
Thanks & Regards,
SadanandHi Sadanand,
select
pv.vendor_id,
pv.segment1 vendor_num,
pv.vendor_name,
pvs.vendor_site_id,
pvs.address_line1||', '||
pvs.address_line2||', '||
pvs.address_line3||', '||
pvs.address_line4||', '||
pvs.area_code||', '||
pvs.city||', '||
pvs.country ||' - '||
pvs.zip vendor_address,
(select organization_code from org_organization_definitions
where pll.ship_to_organization_id = organization_id) org,
msi.segment1||'.'||
msi.segment2||'.'||
msi.segment3||'.'||
msi.segment4 item_code ,
msi.description item_desc,
msi.primary_unit_of_measure uom,
pll.quantity qty_ordered,
(nvl(pll.quantity,0) - nvl(pll.quantity_received,0) - nvl(pll.quantity_cancelled,0)) qty_due,
-- pod.quantity_delivered,
poh.segment1 po_num,
pol.line_num,
pll.shipment_num,
pll.need_by_date,
pol.unit_price,
jip.tax_line_no,
jit.tax_name,
jip.tax_rate,
jip.tax_amount,
hrl.location_code shipping_loc
from
po_headers_all poh,
po_lines_all pol,
po_line_locations_all pll,
po_distributions_all pod,
mtl_system_items msi,
po_vendors pv,
po_vendor_sites_all pvs,
ja_in_po_line_location_taxes jip,
ja_in_tax_codes jit,
hr_locations_all_tl hrl
where
poh.org_id = :p_org_id
and poh.authorization_status = 'APPROVED'
and poh.closed_code = 'OPEN'
and pol.po_header_id = poh.po_header_id
and ( pol.closed_code = 'OPEN' or pol.closed_code = 'OPEN FOR RECEIVING' or pol.closed_code is null )
and pll.po_line_id = pol.po_line_id
and (nvl(pll.quantity,0) - nvl(pll.quantity_received,0) - nvl(pll.quantity_cancelled,0)) > 0
and ( pll.cancel_flag = 'N' or pll.cancel_flag is null )
and pod.line_location_id = pll.line_location_id
and msi.inventory_item_id = pol.item_id
and msi.organization_id = pll.ship_to_organization_id
and pv.vendor_id = poh.vendor_id
and pvs.vendor_site_id = poh.vendor_site_id
and jip.line_location_id = pll.line_location_id
and jip.po_line_id = pll.po_line_id
and jip.po_header_id = pll.po_header_id
and jit.tax_id = jip.tax_id
and hrl.location_id (+) = pll.ship_to_location_id
order by poh.segment1 ,
pol.line_num ,
pll.shipment_num ,
jip.tax_line_no
Regards
sanjay -
GRN for respective Accounting document number
Hi guru,
I need to show a report like bellow:
+Accounting doc number+ +GRN+
4900030516 4900743137
Both document number and GRN is saved in same table MSEG.
can you please give me the relation, depending on that I can recognise 'GRN 4900743137' is created for
'doc number 4900030516'
with thanks
Moshior
Edited by: moshiur sohel on Oct 7, 2010 8:24 AMhi,
1st to find accounting docs for GR find BKPF - BLART = WE
read table field BKPF-AWKEY
suppose u found AWKEY = 49007431372010
AWKEY = GR number + GR year
for above example GR number is = 4900743137 and GR year = 2010
you can use reverse logic if want to go from accounting document to GR document .
hope this helps
regards
Avinash
Edited by: avinash goswami on Oct 7, 2010 12:11 PM -
How can I reprint the report?
Dear Team,
I have a requirement,
I have going to print the custom report (label print) once pick confirm has been done automatically.
If due to some reason (printer is not working or report not printed properly, or labels are not printed properly) have to reprint the same report.
how can we achieve this requirement. ?
My report will generate the pdf output. If Its stores in server how can we re use and print that same pdf. or do let me know if you have any other options.
Thanks & Best Regards,
SathiyaHallo Sathiya,
You can try this,
Find the last Concurrent which had the issue
printer is not working or report not printed properly, or labels are not printed properly
Using the Copy Option/Button in the New Submit Request Form, Re Run your report with the same parameters.
Thanks -
Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date
Hello Experts
I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
use GR Doc date as billing date
3rd party sales process (w/o ship notif) - BillingHi Lakshmipathi ji,
As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
For Ex
Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
Regards
Hiba -
Change GR based IV indicator in Me22n after GRN reverse
Dear All,
I have issue related to GR based IV.
I created a PO with delivery cost.
did GR wrt PO where Material account got debit and Gr/ir and freight clearing got credit.
During MIRO user did not found any freight amount(i.e Clearing account). So they put manually as a unplanned delivery cost and post the wrong entry.
So i analysed and found that due to the un tick of GR Based IV in PO, they did not get freight clearing account in MIRO.
So i reversed the MIRO and GRN and when i go to PO change mode then GR based IV is in disable mode. It is not allowing to change.
So kindly guide me how to resolved the issueHi Dev,
Even if i reverse the document, i am not able to change it.
Anyways it is resolved now, actually during MIRO i have selected wrong layout that is why delivery cost was not showing.
Thank u all for u r support.
Maybe you are looking for
-
Process Order Deletion and Archiving process
Hi all, I just want to ask what is the proper process in deleting and archiving process orders and what are the possible impacts on the other modules? Thanks!
-
Substitution in F.19 for posting account
Hi all, Is it possible to create a substition rules to replace an account in f.19 posting? In fact, the customizing for F.19 is by chart of account. But in our case, we have 2 differents company code with 2 different need on the same chart of account
-
Photo shop 13 will not play sound on hd clips.
photo shop elements errors. Will not load 10 catalog and will not play hd video clip sound.
-
Hello, how is staic mapping done in routers, like you do in pix firewall. I need to connect to several servers in my office through PC anywhere. All the servers are behind a router. Thanks. Daniel
-
How to organize recovered iphoto jpegs?
I recently recovered several thousand "lost" pix via File Salvage. However, all my albums, etc. are gone. Heard there was software that can help. Can anyone out there help? Thanks Carl