Open PO for the particular material
Hi All,
I would like to list out open purchase orders for for the material ..what is the T code or Table for this ?
Hi Dinesh
Purchasing List for Open Purchase Order
Open Purchase Order = Open Goods Receipts ( Selection parameters WE101)
This two parameters determined what information is shown:
· selection parameter
· scope-of-list parameter
U can get open Po report from any of following :-
use selection parameter as WE101
· ME2L - Vendor
· ME2M - Material--This will give open PO per material no · ML93 - Service
· ME2K - Account Assignment
· ME2C - Material Group
· ME2B - Requirement Tracking Number
· ME2N - Purchase Order Number
ME2W - Supplying Plant
Vishal...
Similar Messages
-
Is ther a FM to get the open order qty for a particular material &salesorg?
Hi experts,
I have requirement to find the open order qty for a given sales org (plant will be even better ) and material in my report. I do not want to use the standard tables as i need to fetch all records without any time restriction.So it is takin a lot of time.
I know i can find it in va05 but i want to know if ther is some standard function module which can serve this purpose.
Kindly help.
regards
AshwinThanks for the reply,
Can you kindly elaborate what i need to pass to the function module ?
What do I have to pass in the tables LVBMTV and LSELTAB ?
In which field will i get the open quantity for the material and salesorg ?
Kindly help,
Regards
Ashwin -
Details of open invoices for the current year/ material price analysis
Hi,
I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
1. How to get the details of open invoices for the current year? Which table should I look into?
2. I have to create a report to display material price analysis. How should I do that?
3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
4.How to create an interactive report for displaying plant status to know the status of a particular material
5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
Thanks in advance!!
Uma.
Message was edited by:
Uma RaviHi Ravi,
for 3, 4, 5 --> u can go through the code ...
REPORT ZEX2 MESSAGE-ID arc NO STANDARD PAGE HEADING.
Tables :kna1,vbak.
SELECT-OPTIONS : so_vkorg FOR vbak-vkorg OBLIGATORY,
so_vtweg FOR vbak-vtweg OBLIGATORY,
so_spart FOR vbak-spart,
so_kunnr FOR kna1-kunnr.
DATA : BEGIN OF sales_open OCCURS 0 ,
vbeln LIKE vbak-vbeln,
auart LIKE vbak-auart,
kunnr LIKE kna1-kunnr,
bstnk LIKE vbak-bstnk,
lfstk LIKE vbuk-lfstk,
fkstk LIKE vbuk-fkstk,
gbstk LIKE vbuk-gbstk,
END OF sales_open.
DATA : BEGIN OF itm_sales OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
matnr LIKE vbap-matnr,
kwmeng like vbap-kwmeng,
lfsta LIKE vbup-lfsta,
lfgsa LIKE vbup-lfgsa,
fksta LIKE vbup-fksta,
fksaa LIKE vbup-fksaa,
gbsta LIKE vbup-gbsta,
END OF itm_sales.
DATA : l_kunnr LIKE kna1-kunnr,
l_vkorg LIKE vbak-vkorg,
l_vtweg LIKE vbak-vtweg,
l_spart LIKE vbak-spart.
DATA: v_statusl(20) TYPE c,
v_statusb(20) TYPE c,
v_statusf(20) TYPE c,
v_statusg(20) TYPE c,
v_status(20) TYPE c,
v_field(1) TYPE c.
data : v_openqty like vbap-kwmeng.
**Selection Screen Validations.
AT SELECTION-SCREEN.
PERFORM validations.
*& Form Validations
* text
* --> p1 text
* <-- p2 text
FORM validations.
**Customer
IF NOT so_kunnr[] IS INITIAL.
SELECT SINGLE kunnr INTO l_kunnr
FROM kna1
WHERE kunnr IN so_kunnr.
IF sy-subrc NE 0.
MESSAGE e002 WITH text-005.
ENDIF.
ENDIF.
**Sales Organization
IF NOT so_vkorg[] IS INITIAL.
SELECT SINGLE vkorg INTO l_vkorg
FROM tvko
WHERE vkorg IN so_vkorg.
IF sy-subrc NE 0.
MESSAGE e003 WITH text-006.
ENDIF.
ENDIF.
**Distribution Channel
IF NOT so_vtweg[] IS INITIAL.
SELECT SINGLE vtweg INTO l_vtweg
FROM tvkov
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg.
IF sy-subrc NE 0.
MESSAGE e004 WITH text-007.
ENDIF.
ENDIF.
**Division
IF NOT so_spart[] IS INITIAL.
SELECT SINGLE spart INTO l_spart
FROM tvta
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg
AND spart IN so_spart.
IF sy-subrc NE 0.
MESSAGE e005 WITH text-008.
ENDIF.
ENDIF.
ENDFORM. " Validations
Top-of-page.
PERFORM sales_top_of_page.
Start-of-selection.
PERFORM sales_sel.
*& Form sales_sel
* text
* --> p1 text
* <-- p2 text
FORM sales_sel.
SELECT vbeln auart kunnr bstnk
lfstk fkstk gbstk
INTO TABLE sales_open
FROM vbakuk
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg
AND spart IN so_spart
AND kunnr IN so_kunnr
AND gbstk NE 'C'.
LOOP AT sales_open.
WRITE:/4 sy-vline,
5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
16 sy-vline,
17 sales_open-auart COLOR 2 INTENSIFIED OFF,
27 sy-vline,
28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
40 sy-vline,
41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
55 sy-vline,
56 sales_open-lfstk,
76 sy-vline,
77 sales_open-fkstk,
96 sy-vline,
97 sales_open-gbstk ,
117 sy-vline.
HIDE sales_open-vbeln .
ENDLOOP.
ENDFORM. " sales_sel
*& Form sales_top_of_page
* text
* --> p1 text
* <-- p2 text
FORM sales_top_of_page.
WRITE:/4 sy-uline(114),
50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
WRITE: /4 sy-vline,
5 'SalesOrder' COLOR 1 ,
16 sy-vline,
17 'OrderType' COLOR 1,
27 sy-vline,
28 'Customer' COLOR 1,
40 sy-vline,
41 'PoNumber' COLOR 1,
55 sy-vline,
56 'Delivery Status' COLOR 1,
76 sy-vline,
77 'Billing Status' COLOR 1,
96 sy-vline,
97 'Processing Status' COLOR 1,
117 sy-vline .
WRITE:/4 sy-uline(114).
ENDFORM. " sales_top_of_page
AT LINE-SELECTION.
SELECT a~vbeln
a~posnr
a~matnr
a~kwmeng
b~lfsta
b~lfgsa
b~fksta
b~fksaa
b~gbsta
INTO TABLE itm_sales
FROM vbap AS a JOIN vbup AS b
ON a~vbeln EQ b~vbeln
AND a~posnr EQ b~posnr
AND b~gbsta NE 'C'
WHERE a~vbeln EQ sales_open-vbeln.
IF NOT sales_open IS INITIAL.
LOOP AT itm_sales.
at end of vbeln .
sum.
v_openqty = itm_sales-kwmeng.
endat.
WRITE:/5 itm_sales-vbeln,
itm_sales-posnr,
itm_sales-matnr,
itm_sales-kwmeng,
itm_sales-lfsta,
itm_sales-lfgsa,
itm_sales-fksta,
itm_sales-fksaa,
itm_sales-gbsta.
ENDLOOP.
ENDIF.
skip 2.
write:/ 'open Quantity for the order is ', v_openqty .
for 1.
open invoices..
SELECT vbeln
fkart
kunag
gbstk
INTO TABLE it_billing_h
FROM vbrkuk
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg
* AND spart IN so_spart
AND kunag IN so_kunnr
and year in p_year ---->"parameter for year..
AND gbstk NE 'C'. "----> open invoices
for 2..
2. refer TABLES mara, EINA ..
regards,
VIjay -
Check the stock for a particular material belonging to a material group.
Hi,
Is it possible to check the stock for a particular material belonging to a material group.
Your help will be appreciated.
Regards,
kavita.Hi Kavita,
go to transaction MB52 , in the selection screen enter the material and the material group that you want the results for, and execute. You will get desired results.
Regards
Mangesh
Reward points if it helps
Message was edited by:
Mangesh More -
How to calculate Opening Stock for a particular date.
Hi Experts,
I have a sitution to calculate Opening stock for a particular date.
please help me with the necessary Fields & Tables required.
Appriciate If any Sample coding available.
Thanks & regards,
Venkat.Hi Venkat,
To Calculate Opening Stock & Closing stock there are different procedures.
It just depends of\n the client requirements & usage of the material.
For example, we have different types of stocks, like, Through Pipeline, Special, Unristricted, quality, safety,
and many types of stocks.... so all these types are indicated in MSEG tabe in SOBTZ field,...
Now Comimg to your Query, You need to calculate OPENING & CLOSING STOCK.
We have a similiar standard report in MB5B Tcode..
to get the same results in your report do like this...
For valuated stock go to the MARDH, MBEWH, MCHBH tables But I Prefer MBEWH.
here in MBEWH give the month & year and you get the result in LBKUM field...
For Special stock, You need to go to another table like MKOLH,,(I forgot still 2 more) and
give the month & year inputs and you will get the result in SLABS field.
and remaining MB5B refers to its deetails lists with different Movement types,
whcih you can get clearly from MSEG Table...
Hope you can write the select Queries accordingly.
Thanks & Regards,
Dileep .C -
Stock for the particular day - Unrestricted, Blocked, Quality Inspection
Hi,
There is a standard transaction MMBE, where we can see the current stock values with all specifications like unrestricted stock, blocked stock, reserved stock, quality inspection stock....etc.,
in the same way I would like to have the stock of the material for the particular day.
Is there any standard transaction available?
If it is not available, please let me know how to arrive the stock(Logic) to prepare a report for that.
-SarasijaHello,
MB5B gives you the opening & closing stock on a particular date. But i dont think it gives you the detailed breakdown of the stock (viz., Unrestricted, Blocked, Quality Inspection). Correct me if ia m wrong.
@OP: FYI the current stock (period-wise) is stored in the tables MARD & MCHB. But none of these give you the current day stocks.
BR,
Suhas -
Restricting Purchase order for a particular material type
Hi All,
How do I restrict a purchase order document type to be created for a particular material type.
For eample PO document type NB should allow to create for materials with the material type ROH only and restrict the other material types by issuing an error.
Many thanks in advance.
Regard,
RaviHi Ravi,
This is not directly achievable in std. You will have to implement the check in a user exit, e.g. the BAdI ME_PROCESS_PO_CUST method PROCESS_ITEM.
But why this strange reqmt? Maybe there's another solution whuch would keep you in std?
BR
Raf -
How to find the transaction code for the particular program or include
Dear All,
Please help me on this queary.
1) How to find what is the transaction assigned for the particular Report
2) How to find the particular include is used in which programs and also transaction codes
I have one ZProgram that contains only includes no selection screen, I have to find where this program is used, in that one include is ther I would like to know in which program and in which transaction that is used,
They have given ME9F, ME21N/22n, wheren this includle is calling.
Please kinely help on this.
Thanks and Regards,
MuralikrishnaHI
1. you can find the transaction for your report by opening in se80. On the left side window it will show the transaction if there is any.
2. to find in which programs particular inclue is called , just open include in se38 and press where used list icon. in the pop up window select programs.
regards
vijay
reward points if helpful -
Material master extension for a particular material
hi everyone,
i got a requirement to add a customized screen for a particular material, i designed the screen and added that by going into spro. the screen is viewable now but for all materials. so could anyone tell me how to make it visible only for a particular material type.
Thanks heaps
SuryaHi mate
double click the material type in T.code oms2 and higlight the view in user department so it will be displayed in the material master creation,if not deselect the item so it wont be available in MM01 .
Hope this helps
cheers
Chellam -
Passing the Opening Balance for the 1st peroid of the quater
HI ,
Passing the Opening Balance for the 1st peroid of the quater: The report format is as follows
Code-Desc-Amount
1001-AAAA-1000
1002-BBBB-2000
1003-CCCC-3000
The output is based on quaterwise. If I enter the first period of the particular quater, it will show the reports for the whole quater. I created the report and working fine.
But the problem is that, if it is AAAA, i need to pass only first period of that quater else total of the quater.
Can you please, explain me how to do this....
Thanks and Regards
RajeshHi Pooja,
RSA3 only shows records in setup table, which is collected by MCNB.
by MCNB, you could only get the current opening stock, and in order to calculate the open stock in previous month,
you'd have to load the history movement via 2lis_03_bf.
Thanks & B.R.
Vince -
Default VAT 4 % for 1 particular material group
My client wants to default VAT 4 % for 1 particular material group...It means if i create PO for that particular material belonging to that material group it should fetch VAT 4 % default.
How to map it?Hi,
For the VAT condition type, maintain access sequence with the field material group and then create the tax condtion using FV11 for the said material group with 4% tax rate. All subseqent PO's created with that particular Material Group will automatically calculate VAT with 4% based on the conditon record, Pl check
Regards
Merwyn -
how to check the usage of ram and cpu Performance for the particular application like sqlserver ,ms word
rankiHi,
You can use Performance Monitor and add the required counters.
Check the below Technet article on Performance Monitor.
http://technet.microsoft.com/en-us/library/cc749249.aspx
Below are the steps to monitor the process in Performance Monitor.
- Go to the Performance Monitor.
- Right-click on the graph and select "Add Counters".
- In the "Available counters" list, open the "Process" section by clicking on the down arrow next to it. Select "% Processor Time" (and any other counter you want).
- In the "Instances of selected object" list, select the process you want to track. Then click on "Add >>" button. Click on OK.
Regards,
Jack
www.jijitechnologies.com -
How to find condition type for a particular material document no.
hiiiiii
How to find condition type for a particular material document no.Hi
Condition types are maintained at PO level
Take the EKKO-KNUMV and pass to
KONV-KNUMV field and take the different condition types values from KONV
Take the Material Document No (MBLNR) and pass to MSEG table and take the EBELN field and from EKKO table take EKKO-KNUMV field and pass to KONV
see the table T685 for different condition types.
<b>Reward points for useful Answers</b>
Regards
Anji -
Discount for a particular material
Hi Experts Hw can we caliculte discount for a particular materaial
hi,
there is a material specific discount condition type :K004.,using this we can calculate or effect the discount to be appear when the particular material is being sold.
regards
sriram
reward if helpful -
Find condition type (kschl) for a particular material document no (mblnr)
hiiiiii
How to find condition type (kschl) for a particular material document no (mblnr).Hello,
<b>Check the table A017 and KONV.</b>
Vasanth
Maybe you are looking for
-
How can I manage a button in a SWF?
Hi, I have a SWF in a Flash container, in that SWF I have several buttons and I want to control them so when you click one it pushes a view in my mobile App. How do I do this? From FB or from Flash? Thanks, my code is this (only view till now): <?xml
-
Assign Source of Supply for Services
Hi, I understand that Materials has source list and the system can actually suggest possible vendors for the material via t-code ME25. However, I am now dealing with services with service master defined and service conditions maintained. I can create
-
Hi, when my 3rd gen nano is connected and iTunes is open and I am in my nano library, I cannot change the column width. When I try to change the column width in the iTunes library it's no problem, but once in the nano library I cannot. What gives ? M
-
Hi, I am using RHEL 5.2 with smart Array with LVM2 /boot on /dev/cciss/c0d0p1 /, /usr ... on /dev/cciss/c0d0p2 (LVM) /data on /dev/cciss/c0d1 (LVM) during boot I have a lot of errors like below Buffer I/O error on device sda, logical block 0 end_requ
-
Coping Portal objects from Test to production on different Domains
I want to know if anyone besides my company uses separate domain environments to do development, QA, and production. How did you get around the object owner issues that come from this level of security. Did you have to Export OID objects from one env