Open Distribution Order Details
Hi ,
I am an apps technical consultant.
I have work on Finance and project modules.
But i got a requirement ( report ) in Order Management which i dont have any idea about this module.
I have to Develop discoverer report :
Requirement :
Report showing open Distribution Order details for multiple departments namely Distribution, Quality and Shipping departments.
Distribution Orders that are in closed/shipped status should not appear in the report output.
As i dont have any tables idea in OM ,if any body sends query to achive it its greate for me.
Hi,
How do you want to see your Open Production Orders?
what parameters you want to consider?
is this all th Orders with PCNF and PDLV but TECO and DLV not inculded some thing like that??
Follow the procedure..
In BS42, You copy one existing Profile with some "Zxxx" and Copy all.
in the Selection Conditions define as below:
PCNF
or PDLV
TECO Not (Check box active)
and DLV Not (Check box active)
and CLSD Not (Check box active)
or you can have diffrent statuses as per your requirement.
Then it is done..
Use this Profile in COOIS in "Selection Profile Status".
Hope this helps..
Regards,
Siva
Hi Sankaran,
I have missed the Statuses CRTD and REL to be included in the profile.
Any way you can add these as well.
Revert for further discuusion..
Reg.
Siva
Edited by: Siva Kumar M on May 7, 2008 2:13 PM
Similar Messages
-
Hi Experts,
we develop customize report, we need list of open production order details, we know table's to get consolidate list
Ques is there any function module to get list of open production order details or any other simple way?
Regards,
SankaranHi,
How do you want to see your Open Production Orders?
what parameters you want to consider?
is this all th Orders with PCNF and PDLV but TECO and DLV not inculded some thing like that??
Follow the procedure..
In BS42, You copy one existing Profile with some "Zxxx" and Copy all.
in the Selection Conditions define as below:
PCNF
or PDLV
TECO Not (Check box active)
and DLV Not (Check box active)
and CLSD Not (Check box active)
or you can have diffrent statuses as per your requirement.
Then it is done..
Use this Profile in COOIS in "Selection Profile Status".
Hope this helps..
Regards,
Siva
Hi Sankaran,
I have missed the Statuses CRTD and REL to be included in the profile.
Any way you can add these as well.
Revert for further discuusion..
Reg.
Siva
Edited by: Siva Kumar M on May 7, 2008 2:13 PM -
Query on open planned orders details with process order GR details
Dear Experts,
I need to create a query in SQ01 where the requirement is as given below,
Query output should display the open planned orders (Planned orders which is not converted to process order details) details for a material like Planned order number, Planned order quantity, Start date, Finish date and also the details of the list of process orders created for the same material with its details like PO qty, GR qty, Basic start date, Finish date, Actual finish date, BOM Component material codes, component quantity.
But i tried creating this query by joing the tables PLAF+ AFPO+AUFK+ AFKO+RESB . My input parameter will be the Material Number for which Planned order and Process orders are being created.
But i am unable to generate the output when i create a query by joining these tables
Is it possible to obtain the output for open planned order details and process order details in a single query ?
I am failing in my repeated attempts
Please provide your suggestions for developing this query
Regards,
J.BalakrishnanDear Bala,
as alternative , for use a query report and not a custom abap report, you can try to read data from MRP tables MDKP and MDTB . In these one tables you can find both elements (planned order and production orders) for to start to research all details that you need.
You can also use MDTB-DELKZ to filter only planned order (PA) and Production order (FE).
With the number order you can read the RESB table in order to define components details.
With this table would you the advantage to have always the opened orders.
If the following table are empty you should make a little customizing modification so that once MRP run will write them.
Give me feedback if i have been useful for you.
Daniele -
Interactive report for vendorwise purchase order details
Hi Experts,
I am trying to create vendor wise purchase order interactive report, if i click any of vendor detail it has to call display vendor screen for selected vendor or if i click any of purchase details it has to open purchase order details..
can any body explain...hi arun,
use at line-selection
example,
at line-selection.
if sy-ucomm = 'PICK'.
if wa_lifnr is not initial.
set parameter id 'LIF' field wa_lifnr.
set parameter id 'BUK' field wa_bukrs.
set parameter id 'EKO' field wa_ekorg.
call transaction 'XK03'. endif.
if wa_ebeln is not initial.
set parameter id 'BES' field wa_ebeln.
call transaction 'ME23N' and skip first screen.
endif.
endif.
Regards,
Logan -
DETAIL WIP ACCOUNT BY OPEN PRODUCTION ORDER
Hi Everybody!!!!
I'm trying to develop a report to obtain the detail of the WIP accoun by Open Production Order, but I have the following problem.
All the additional costs are not saved in any table ( I have looked almost everywhere OINM, OIGN, IGN1)
Does anybody know how I can obtain it?
Regards,
Ronaldhi,
Additional costs can be found in table WOR1.
Try this query
SELECT T1.DocNum, T0.ItemCode, T0.WipActCode, T0.CompTotal as 'Additional Cost'
FROM WOR1 T0 INNER JOIN OWOR T1 ON T0.DocEntry = T1.DocEntry
WHERE T1.DocNum = '[%0]'
Jeyakanthan -
Table required for details of Open sales order
Hi experts,
My user wants following reports and it is to be based on SD module:
Customer Name Open Sales order(qty.) Delivered ( qty.) Balance Open Sales Order(Qty.)
Please advise from which table i can make said report.
Regards,
SamaarHi,
Check the table VBAP by filtering conditions.
Thanks
Prasada -
Open Purchase Order UPload Using the BAPI 's
i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name Field Description Type Length</u>
<b>EBELN Purchasing Document Number CHAR 010 X
BUKRS Company Code CHAR 004 MN10 C
EKORG Purchasing Organization CHAR 004 MN00 C
EKGRP Purchasing group CHAR 003 X
BSART Order type (Purchasing) CHAR 004 X
LIFNR Account Number of Vendor or Creditor CHAR 010 X
BEDAT Purchase Order Date DATS 010 X
ZTERM Terms of payment key CHAR 004 X
WAERS Currency Key CUKY 005 X
INCO1 Incoterms (part 1) CHAR 003 X
INCO2 Incoterms (part 2) CHAR 028 X</b>
EBELP Item Number of Purchasing Document NUMC 005 X
EMATN Material number CHAR 018 X
WERKS Plant CHAR 004 X
LGORT Storage location CHAR 004 X
EPSTP Item category in purchasing document CHAR 001 X
KNTTP Account assignment category CHAR 001 X
EINDT Item delivery date DATS 010 X
MENGE "Purchase order quantity (direct input, transfer of POs)" CHAR 013 X
MEINS Order unit UNIT 003 X
NETPR "Net price: Document currency (direct input, transfer of" CHAR 011 X
PEINH "Price unit (direct input, transfer of POs)" CHAR 005 X
BPRME Order Price Unit (Purchasing) UNIT 003 X
BPUMZ Numerator: Conversion OPUn into OUn (direct input of POs CHAR 005 X
BPUMN Denominator: Conversion OPUn into OUn (direct input of P CHAR 005 X
SAKTO Cost element CHAR 010 X
KOSTL Cost Center CHAR 010 X
VBELN Sales and Distribution Document Number CHAR 010 X
VBELP Sales document item NUMC 006 X
WEMPF Goods recipient CHAR 012 X
WEBTH "Amount in local currency (direct input, transfer of POs)" CHAR 013 X
WEBTF "Amount in document currency (direct input, transfer of P" CHAR 013 X
WEREF Flag for treatment of GR/IR (direct input of POs) CHAR 001 X
SPINF Indicator: Update info record CHAR 001 X
WEPOS Goods Receipt Indicator CHAR 001 X
REPOS Invoice receipt indicator CHAR 001 Xi need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name Field Description Type Length</u>
<b>EBELN Purchasing Document Number CHAR 010 X
BUKRS Company Code CHAR 004 MN10 C
EKORG Purchasing Organization CHAR 004 MN00 C
EKGRP Purchasing group CHAR 003 X
BSART Order type (Purchasing) CHAR 004 X
LIFNR Account Number of Vendor or Creditor CHAR 010 X
BEDAT Purchase Order Date DATS 010 X
ZTERM Terms of payment key CHAR 004 X
WAERS Currency Key CUKY 005 X
INCO1 Incoterms (part 1) CHAR 003 X
INCO2 Incoterms (part 2) CHAR 028 X</b>
EBELP Item Number of Purchasing Document NUMC 005 X
EMATN Material number CHAR 018 X
WERKS Plant CHAR 004 X
LGORT Storage location CHAR 004 X
EPSTP Item category in purchasing document CHAR 001 X
KNTTP Account assignment category CHAR 001 X
EINDT Item delivery date DATS 010 X
MENGE "Purchase order quantity (direct input, transfer of POs)" CHAR 013 X
MEINS Order unit UNIT 003 X
NETPR "Net price: Document currency (direct input, transfer of" CHAR 011 X
PEINH "Price unit (direct input, transfer of POs)" CHAR 005 X
BPRME Order Price Unit (Purchasing) UNIT 003 X
BPUMZ Numerator: Conversion OPUn into OUn (direct input of POs CHAR 005 X
BPUMN Denominator: Conversion OPUn into OUn (direct input of P CHAR 005 X
SAKTO Cost element CHAR 010 X
KOSTL Cost Center CHAR 010 X
VBELN Sales and Distribution Document Number CHAR 010 X
VBELP Sales document item NUMC 006 X
WEMPF Goods recipient CHAR 012 X
WEBTH "Amount in local currency (direct input, transfer of POs)" CHAR 013 X
WEBTF "Amount in document currency (direct input, transfer of P" CHAR 013 X
WEREF Flag for treatment of GR/IR (direct input of POs) CHAR 001 X
SPINF Indicator: Update info record CHAR 001 X
WEPOS Goods Receipt Indicator CHAR 001 X
REPOS Invoice receipt indicator CHAR 001 X -
DEAR ALL,
WHETHER WE HAVE A STANDARD REPORT IN SAP TO GET QUANTITY AND VALUE DATA OF BACK DATED OPEN PURCHASE ORDER?
PURCHASE ORDER HAS BEEN PREPARED IN JANUARY, DOWN PAYMENT IS MADE IN THE MONTH OF MARCH, MATERIAL IS RECEIVED (GRN MADE) IN AUGUST
IN ABOVE CASE WHEN I GENERATE A OPEN PURCHASE ORDER REPORT AS ON 31.03.2008 IT IS NOT SHOWING ME THE QUANTITY & VALUE DETAILS OF OPEN PURCHASE ORDERS.
PLEASE LET ME KNOW THE WORK AROUND.
WAITING
AMITDear,
Enter ME2N, Select WE101 in selection parameter field.
Then enter other required detail and click on execute button.
So system give you list of open purchase order.
Then click on change layout button.
Transfer Still to be invoiced (qty) field Column Set to Display column set mode.
And click on continua button.
Duse to this field you can track for how many quantity good receipt is created of purchase order.
Regards,
Mahesh Wagh -
hai to all
i my senario i should download the open sale order existing in the present production server into a flat fle
can anyone tell me where this ship- to party is getting stored while creating the sale order. please let me know the table name.
regards
vijayHi Vijay,
To find out Open Sales Order. You shoud get them from VBUK-GBSTK <> 'C'. Store them in internal table.
To get Ship-to-party, you can get it from VBPA (partner table).
VBPA-VBELN = sales order number
VBPA-POSNR = '000000'
VBPA-PARVW = 'WE' or 'SH'
You will get details for Ship to Party.
regards,
ram -
Open sales orders using SD_SELECT_SALES_DOCUMENTS - no POSNR
Hi all,
I'm trying to use SD_SELECT_SALES_DOCUMENTS to select open sales documents but have noticed that it does not seem to contain line item details, seems like it only shows open sales orders at header level. I was wondering if there was something similar for line item details?
Regards,
Mark.Marcin, thanks for the suggestion - unfortunately in import parameters didn't give me the function I needed.
Instead i've found BAPI_SALESORDER_GETSTATUS to be quite suitable.
Regards,
Mark -
Open Sales orders through IDOC
Hi
We are trying to send the list of open sales orders of a customer in an IDOC to the customer. For example, if the customer has got 15 sales order to be delivered to him , he needs the details of all these 15 orders in an single IDOC
Is there any IDOC message type available for this in SAP R/3 4.7 version or is there a standard solution of sending these details through IDOC
Regards
AnandhHi
We are trying to send the list of open sales orders of a customer in an IDOC to the customer. For example, if the customer has got 15 sales order to be delivered to him , he needs the details of all these 15 orders in an single IDOC
Is there any IDOC message type available for this in SAP R/3 4.7 version or is there a standard solution of sending these details through IDOC
Regards
Anandh -
Hi all,
As everyone must be knowing in FD32 we can see Sales value ( Open sales orders + Open deliveries).
For one of my customers i can see an amount in open sales orders field, but i could not find the SO in VA05 report.
Can anyone help me to find list of Open sales orders which are reflected in FD32 sales value field.
Thanks all.
RajeshDear Rajesh sandbhor ,
First please check whether there is any value in FD32>Extras>Sales Value.
If YES, then Instead of going for VA05, in fd32, go to environment>sales and distribution documents>open orders.
Please check and revert back if there is any issues.
Thanks & Regards,
Hegal K Charles -
Dear Experts,
I have a similar requirement i.e. A good Volume of Open Sales Orders which are to be Closed. The Status of these Sales Orders being Partially Delivered, Not Delivered and Being Processed. Can I have a best solution to close them via an SAP transaction or with an ABAP Program. Kindly give us a detailed Solution to proceed.
Regards
HariHi,
As i understood, you want the STATUS of the orders to be COMPLETE.
For this you have to do some settings in the ITEM CATEGORY in VOV7
Goto the Transaction code VOV7 and select the ITEM CATEGORIES for all those documents and maintain the *COMPLETION RULE as A.*
Now check creating the new documents after executng the full cycle.
thanks,
santosh -
Hello Friends
I want to find if anybody can guide me on how to get all open sales order tables , i want to create a format and create a flat file for uplodading the file , for this what do i need and how do i do it.
Also for creating LSWM can i use the existing one which i can just Assign the New file to the existing one .
Regards.Dear Mehmood,
I want to find if anybody can guide me on how to get all open sales order tables
You want to extract all the open sales orders- which you can get from Table:VBUP key in overall document status in selection screen ( You can use VBUK also- but if there are certain sales orders in which some of the items are completed or few of them open, using VBUK - you will not get exact records)
Secondly, you can get the data by using Query also- in SQVI
design a query with VBAK / VBAP & VBUP
so that from VBAK you can give time period & sales area details
from VBAP - you can enter plant relevant details to filter certain records & item category as well
where as VBUP- filter wth the status.
once downloaded store in flat file.
Now Create LSMW object by using batch input recording method. after mapping the relevant fields,
prepare the flat file in such a - it suits to the upload file / recording file. then you can upload the already downloaded n stored open sales orders in flat file.
Hope this is what you are looking for.
Regards,
ReazuddinMD -
Can any body give me the logic to list the oper sales orders.
Thanks,
srikHi,
*& Report ZOPEN_SALESORDER
report zopen_salesorder message-id arc no standard page heading.
tables :kna1,vbak.
select-options : so_vkorg for vbak-vkorg ,
so_vtweg for vbak-vtweg ,
so_spart for vbak-spart,
so_kunnr for kna1-kunnr.
data : keybalance like bapi3007_3 occurs 0 with header line.
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,
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.
**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.
data: date type sy-datum.
date = sy-datum - 3000.
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'.
and gbstk in ('A','B')
and erdat >= date.
loop at sales_open.
call function 'BAPI_AR_ACC_GETKEYDATEBALANCE'
exporting
companycode = '1919'
customer = sales_open-kunnr
keydate = sy-datum
tables
keybalance = keybalance.
read table keybalance index sy-tabix.
write:/4 sy-vline,
5 sales_open-vbeln color 2 intensified on,
16 sy-vline,
17 sales_open-auart color 2 intensified on,
27 sy-vline,
28 sales_open-kunnr color 2 intensified on,
40 sy-vline,
41 sales_open-bstnk color 2 intensified on,
55 sy-vline,
56 sales_open-lfstk,
76 sy-vline,
77 sales_open-fkstk,
96 sy-vline,
97 sales_open-gbstk ,
117 sy-vline,
118 keybalance-lc_bal,
142 sy-vline.
"hide sales_open-vbeln .
endloop.
write :/4 sy-uline(160).
endform. " sales_sel
*& Form sales_top_of_page
text
--> p1 text
<-- p2 text
form sales_top_of_page.
write:/4 sy-uline(160),
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,
130 'Balance' color 1,
142 sy-vline.
write:/4 sy-uline(160).
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 avbeln eq bvbeln
"and aposnr eq bposnr
"and b~gbsta ne 'C'
"where a~vbeln eq sales_open-vbeln.
"if not sales_open is initial.
"loop at itm_sales.
"write:/5 itm_sales-vbeln,
"itm_sales-posnr,
"itm_sales-matnr,
"itm_sales-lfsta,
"itm_sales-lfgsa,
"itm_sales-fksta,
"itm_sales-fksaa,
"itm_sales-gbsta.
"endloop.
"endif.
thanks
Ravi
Maybe you are looking for
-
Stuck in login loop--very frustrating
EVERY TIME I open any Adobe app, I get the message that my subscription has expired. I click "Try Again" and it says "Thank you. Your subscription to CS6 Creative Cloud Membership is now active. Click continue to use your product". I click "Continue"
-
Video and Audio getting out of sync?!
So I have Final Cut Express on my Macbook with 2.4 GHz, 2.6 GB RAM and I am running Mac OSX 10.5.8. I have a 30 minute mpg, which does not import into FCE, so I converted it to an MP4 via a converter. When I play the video in a standalone player (the
-
External Hard drives with ibook.
okay, I have a 14" ibook G4. I also have 2 Windows PC's (1 Atlon 3.6GHZ, 4GB ram (for gaming) & a P4 2.8GHZ (for everyday use)) and i was wondering if i could get an EXTERNAL harddrive that will work for all my computers. I dont know anything about E
-
UWL - Problem on Restore Systems
Hello All, I have a problem with UWL register systems when Restore Database Backup... I try create a register for the system to UWL group and the follow error is displayed: (The Table Spaces is blocked or clear) Any idea? Tk's in advanced
-
What "kind" of Mac Pro do I have
Would anyone mind helping me understand what "kind" of MacPro (early, late or whatever) I have and how all of this may or may not affect how memory is recognized by WinXP through Leopard? Is there an issue here in terms of the difference and if so, w