PRODUCTION ORDER NO. DISPLAY IN QUERY REPORT

Hello Sir,
I need to display production order number in the following query, can you please reply that query,
select distinct t1.DocNum,t1.DocDate,t1.NumAtCard,t1.CardName,t4.U_desc,t4.DocEntry[GRNNO],t4.U_recqun[GRN-QTY],t6.U_PREACPT[Accepted],t6.U_BALQTY[Waiting for QC]
from OPDN t1 inner join PDN1 t2 on t1.DocEntry = t2.DocEntry inner join [@SU_SUBCONGRN] t3 on t1.DocNum= t3.U_grnno
inner join  [@SU_SUBGRNLINES] t4 on t3.DocEntry = t4.DocEntry inner join [@TI_GRNINSPECTION] t5 on t3.DocNum = t5.U_SUBGRN
inner join [@TI_GRNLINE]t6 on t5.DocEntry = t6.DocEntry
where t1.DocDate>=[%0] and t1.DocDate<=[%1] and  t1.CardName=[%2]
Reagards
Pushpa

Hi Pushpa......
Is there any relation between Production Order table and any of the table taken in your query report?
If yes then please let me know.......
Then only you can get it linked with Production order......
Regards,
Rahul

Similar Messages

  • Production Order to FI - Amoratization Query

    Dear Gurus
    Kindly need some assistance on the issue, now sure if its the right forum - Regarding transferring Production order to CO Order Int Order Amoratisation Query.
    The business have unfortunately reused over 40 material when they should have created new ones.
    From an MM viewpoint it is not advised reusing materials. New material numbers should have been created. However as stock has now been receipted and sold it is not possible to use a new material number.
    These materials originally had stock transferred from other materials onto batch and valuation 01. This was fully sold but now the Business have re used the materials with a new description and a new Production Order created.
    Because stock was previously transferred onto batch 01 via - old prod order it appears the business have created the Production orders for batch 02 which has been Goods receipted against. However the business have added the costs to an Internal order batch 01 not 02.
    So essentially our batch and valuation numbers for the production order and internal order are out of sync. Would this cause a problem.
    I believe the Business want to know if the goods receipt they have done against Production order 02 viewed via MMBE - Stock Balances will trigger the amortisation of the costs on First cost order 01 Internal Order.
    Because the production has already been sold and GR, we will need to look for a solution going forward, so the business does not encounter this problem again. Would this be in FICO or can they do anything to amend the production order batch so in matches with the internal order/asset to be amoratized to.
    Thanks
    Edited by: Rick Desilva on Jan 26, 2011 9:24 PM

    Hi Gordon and Joseph,
    Thanks to both of you for giving me queries.
    Gordon, I made 3 production orders for testing from MRP order recommendation window from which 2 production orders has release date of today 9th July, 2010 (due date 12th July monday) and the 3rd one has release date of after weekend i.e. 12th July 2010 (due date is 13th July). release dates are calculated by MRP acording to the items' lead time and due date.
    Gordon, when I applied your query It gave me msg 'no data was found as a result of this selection criteria' Can you explain what your query will give me in result?
    where as Joseph, when I applied your query on alert, it gave me all 3 production orders as an alert to be released. I was expecting it will give me alert for 2 production order for today as their release date in MRP is today(9th July, 2010) and the alert for 3rd production order should come on 12th July and not today.
    what I understood your query is displaying all production orders which have status 'planned' regardless of their release date.is it?
    Joseph can you edit this query in such a way that It should consider the release date (calculated from due date and lead time in MRP order recommendation window) and display only those production orders which should be released today and exclude those which have release date in future. so that I can get alert for only those production orders which should be released today.
    I hope good response from both of you
    Thanks and best regards,
    Farhan

  • Time display in Query/Report

    Hi,
    If I don't select/restrict a "time" characteristic in a query, I guess all data (for entire time in the InfoCube) is displayed in the report? Correct? Is it possible to modify this display by default?
    Thanks
    Sabine

    Hi Sabine,
    Yes. If you do not restrict your query by any time characteristic, it will display all the records that matches your other selection criteria. The time characteristics you see in the query are the only ones included in your cube.
    If you would like to restrict the query output by a certain time criteria, you may do so by dragging your time characteristic into the filter area of BEx and selecting the values you want to display. Or you may drag your time characteristic and then select the filter values after executing the query. Hope this helps.
    Juice

  • Change Production order thru a SAP Query

    Hello,
    i have a SAP Query to recalculate some conversion factors in the routing of a production order.
    Because the header unit of the routing is M2 and the routing operation is PC for example.
    No i need a idea how it is possible to update the fields in the production order thru this query. I would like to put some codeing in an addidional field which update this values for me.
    I found this function module CLOI_CHANGES_UPL_31, but i am not sure if i can update the conversion factors with it.
    Also my ABAP knowledge is not the best so it would assist my greatly if you can give me some help.
    kind regards,
    Bernhard

    Solved.
    I use first SM35 to create a record for batch input and after this i use this record in the coding in the query.

  • Production order layout - PLD or crystal reports

    hello all
    I need to create a layout for the Production Order.
    I want to try crystal reports or PLD.
    My problem is this - For each production order linked to the same SALES ORDER, I need to print one Production Order layout(JOBCARD) with the work instructions from all the other production orders linked to the same sales order, currently we use coresuite for this, but the production order datasource is not available for SAP HANA yet.
    This is how the current Production order looks in SAP B1, I need to do the same in HANA.
    Thanks in advance
    Janice

    Hi,
    In standard SAP, the above requirement is not possible in PLD.
    You can try with your add-on provider.
    Thanks & Regards,
    Nagarajan

  • CN41N and S_ALR_87013533 report not showing Production order planned cost

    Hi Experts,
    I am having issue to get total planned production order values in my CN41N or S_ALR_87013533 cost report. I am facing 2 issues :
    1. CN41N repoet does not show individual material cost planned in BOM.
    2. CN41N report and S_ALR87013533 report does not show total value but only picking fixed value.
    Example :
    1. CN41N report :
    Above screenshot shows no values in Project plan cost & Order cost column but it shows total cost as a lumpsum on top for project. I need to know how can i get material cost populated here for Project Valuated stock material?
    2. S_ALR_87013533
    This report shows Total Cost of BOM as 1 line under Material Procurement activity similar to CN41N report. Also Order value is picking from Fixed cost from planned order and total cost is added on top. How can i get Total cost picked from production order?
    Is there any Setting in PS config which allow me to pick the detail production order plan cost in both report under planned cost.
    Thanks in advance.
    Ashish

    Hi Ashish,
    I doubt whether Item level reporting  in S_ALR... (hierarchy report) is possible or not because I haven't seen item level cost in them only the lump-sum cost because they are summarized at cost object level itself. Navigation path are there which we use to go into details of cost.
    Please check the following links:
    https://scn.sap.com/thread/1743833
    (In the above thread,focus on  Mr. Mohamed Rafi comment.)
    http://scn.sap.com/thread/3530080
    http://scn.sap.com/thread/1311820
    Order cost plan in report CN41N
    Display of plan cost.,&amp;nbsp;CN41N&amp;nbsp;|&amp;nbsp;ABAP,&amp;nbsp;SAP,&amp;nbsp;benX AG,&amp;nbsp;benXBrain,&amp;…
    Just an additional pointer ,have a look on your costing variant and variation variant settings for material section.
    Regards
    Saurabh

  • Product Order for Matrix Reports [Certification Question]

    [ My Situation ]
    I'm having difficulty understanding the use of a property: a cell's Product Order property, used in Matrix reports by the main cells. Basically, I can't figure out what it does.
    [ What I Think a Matrix Report Is ]
    I understand the matrix report concept like so:
    A matrix report consists of 3 basic components: A category Row, a category Column, and Cells.
    The Row is the result of a query such as "SELECT DISTINCT dept_no FROM emp".
    The Column is like the Row such as "SELECT DISTINCT gender FROM emp".
    A Cell is a summary that coresponds to the queries that formed the Row and the Column, such as:
    SELECT AVG(salary)
    FROM emp
    GROUP BY dept_no, gender
    HAVING dept_no = 10 AND gender = "Female";
    The example above would produce a report where you could see whether males and females tended to have different salaries for various departments.
    [ I Know How the Data Model Works ]
    I understand the Data Model for a matrix report, where the summary fields go, etc.
    [ What I Think Product Order Does ]
    I don't understand what Product Order does for the Cells of a matrix report. It's a list of combinations of the groups in the matrix group from the Data Model. I think it translates to the order of the columns in a query's ORDER BY clause.
    If I reverse the order in which the groups appear in Product Order, I get different results. If my understanding of a matrix report and the Product Order property is correct, the order shouldn't matter.
    What am I misunderstanding?
    Thanks in advance for your help.

    from the online help:
    Description The Product Order property is the order in which
    groups are evaluated in the cross product for a summary.
    Product Order also defines the frequency of a summary, formula,
    or placeholder in a cross product group. That is, the summary,
    formula, or placeholder has one value for each combination of
    values of the groups in its Product Order. Product Order is
    used only for columns owned by cross-product groups. Because a
    cross product relates multiple groups, the groups in the cross
    product could be evaluated in any one of many different orders.
    Therefore, when creating a summary for a cross product, you must
    use Product Order to specify for Report Builder which group
    should be evaluated first, which second, and so on. You must
    also use Product Order to specify the frequency of a summary,
    formula, or placeholder within the cross product.
    Values A valid group combination.
    Applies to summary, formula, and placeholder columns
    Required/Optional required, if the column is a summary or
    formula column belonging to a cross product group.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Report for Production Order

    Dear Gurus,
    I want to find out production orders against which GI 261 is done after GR 101 in perticular period. ( It should display me dirctly production order list )
    Is there any way to find out this as in COOIS documented goods movement I need to search manually .
    Ishwar

    In Documented goods movement report in COOIS
    sort on mov type and sort on the posting date and then see thye list of production order
    there is no other report...we may have to go for Z report

  • Creation of production order report as per format

    Hi!!!!
    Gurus!!!!!
    I want production order report in some required format.
    How to see the format on production order
    How to see the report in the following format.
    Company name:-
    Material requirement Number:-
    date :-
    Time:-
    Due Date:-
    Plan Date:-
    Production Details:-
    Item Code:-
    Item Description:-
    WH:-
    Planned Quantity:-
    Completed Quantity:-
    Completed date:-
    Rejected Quantity:
    Waste and Scrap:-
    Evaporation Quantity:-
    Components:-
    Sr.No.      Item No.   Desription             BOM Quantity  Planned Quantity  Issue Quantity
    1     1000     RED                 20                     200                      200
    2     1001     BLUE                 30                     300                      300
    3     1002     Waste and Scrap -0.45987     -0.9845           -0.984567
              Total Quantity      50.45987     500.9845                     501.98888
    Order Remark.
    I want to see the report in this format.
    Thanks with Regards,
    Nitin

    Nitin,
    Your requirement certainly qualifies for creation of a new Production order Print form and custom print program if you are looking at printing at individual order. If you are looking at report, then certainly a custom report.
    Regards,
    Prasobh

  • Operation wise Report of production order

    Dear Experts,
    I am having total 4 operations in production order .I want operation wise report ( For example ,I am having production order of 10 quantity , I want a report through which I can check how much quantity is lying in operation 10 ,20 30 & 40 )
    waiting for inputs.
    Warm Regards,
    Satya

    hi,
    Work Center
    CRHD Workcenter Header Data
    CRCA Workcenter Capacity Allocation
    CRCO Workcenter Cost Center Assignment
    CRHH Hierarchy Header
    CRHS Hierarchy Structure
    CRTX Workcenter Text
    KAKO Capacity Header
    KAZY Intervals of Capacity
    Routing
    PLPO Routing Operation Details
    PLKO Routing Header Details
    MAPL Routing Link to Material
    PLAB Relationships - Standard Network
    PLAS Task List - Selection of Operations
    PLMZ Component Allocation
    PLPH CAPP Sub-operations
    PLFH PRT Allocation
    PLWP Maintenance Package Allocation
    PLMK Inspection Characteristics
    Bill of Material
    STPO BOM Item Details
    STPU BOM Sub Items (designators)
    STKO BOM Header Details
    MAST BOM Group to Material
    STZU BOM History Records
    STAS BOM Item Selection
    STPF BOM Explosion Structure
    Thanking you

  • Filtering records with deletion flag in Query report

    Dear Friends,
    We are using ECC6.00 (EHP4) for one of our QM requirement, i have created a query in SQ01 with the tables QMEL,AUFK,AFKO,QMFE etc., to get the details of production order and notification.
    The report will list out the production scheduler wise, order wise, defect wise quantity with the notification number also in the display.
    For notifications which are created wrongly, the users set deletion flag. The same i.e., notifications with deletion flag should not appear in the report and hence i have called the field and filtered the value in the output (i.e., field value not equal to X where X is for deletion flag set records).
    Everything works fine upto this, but when users (to carry out analysis) send the data to the spread sheet, the filter values are removed and all records are populated in the excel sheet (even records with deletion flag).
    To select and display only records without deletion flag, i want to introduce coding in the query. Kindly tell me whether this is possible, if so where and what code should be written to meet my requirement.
    The records with the deletion flag (notifications) should be eliminated from the selection and display.
    Experts help required.
    Regards,
    M.M

    Dear Raymond Giuseppi,
    Thank you for your reply. The code syntax had been corrected based on your information. Unfortunately the code doesn't filter the records. On further investigation , it was observed that the field KZLOESCH doesn't get updated and hence a field had been created in the infoset wherein the following  coding is written
    clear : w_dlfl.
    data : w_inact type char1.
    select single inact into w_inact from jest
    where objnr = qmel-objnr
       and stat = 'I0076'
       and inact ne 'X'.
    if sy-subrc = 0 .
      w_dlfl = 'X'.
    else.
      w_dlfl = ''.
    endif.
    The field name is W_dlfl.
    In the above condition how and where should i include the code given by you. Since the field KZLOESCH is not updated how should we get the data from the field w_dlfl be exempted from selection?
    Kindly provide solution.
    Regards,
    M.M

  • Production order being cancelled

    I am notcing on SAPB1 that I am finding production orders being cancelled. I can't understand why this is happening.  I noticed a few users who names appeared would not have access to cancelling these orders.
    Thanks

    Hello again Marc...maybe a bit of explanation and background since you are new to SAP B1 (I responded to your September posting in the training section a bit ago).
    All historial tables in SAP B1 start with an "A".  These historical tables contain some of the informatioin you see when you use the command line Tools > Change Log (for instance when you have a Sales Order being displayed or maybe some other other document/window). 
    So to see all of the historical tables you have available to you in SAP B1, do the following:
    On the command line (top line of screen) select Tools > Queries > Query Generator.  Once you have the Query Generator up, enter "A*" in the upper left hand corner (the asterik brings up all tables starting with A). Use the "Tab" key on your keyboard and a new smaller window will appear called "Choose From List", and you will see all of the historical tables (change log) information you have available for you to write queries in order to find the type of information you are looking for.  If you double click on the word "Description" in the "Choose From List" window it will sort the tables in alpabetical order by name under that column.  Scroll down to find "Production Orders" and...
    Sorry to say, Production Orders are not there - why SAP does not have a historical table of changes to a production order is not known to me.  It is even more suprising when you consider that Production Orders have a financial and reporting impact.  But that is for SAP to answer why there is no Prod Ord history.
    I guess in short terms, there is no way to find out who cancelled a production order.
    However, if you are planning on doing other research into other documents (ie, Sales Orders, AP Invoices, etc) that have changed, you might need to have special transaction codes to really decipher the results.  That is a whole other topic.
    How are the new digs going? 
    Good Luck - Zal

  • Open Production Order

    Hi have to create a report that has open sales order , open po , open pur req , open planned order and open Production order.
    I need the logic for OPEN PRODUCTION ORDERS.
    The status of the production orders are maintained in JEST Table .
      I need logic to elimate the completed production orders during my selcet . Since JEST Table has multiple entries and for some orders that are released the 'DELV'  status wil not be maintained at all at that time.
    I wil really appreciate your help , if you can tell me how to emliminate the completed production orders during my select query to get the open prod orders.
    Is there any fun moduel or bapi that wil give the Open prod orders ?? or any std report that gives open PO??
    Thanks

    for this you can use the Function STATUS_TEXT_EDIT , for this pass Objnr (get the objnr from AUFK table using the production order) it will give you the status in the LINE exporting parameters.
    Import parameters               Value
    CLIENT                          100
    FLG_USER_STAT
    OBJNR                           QM000200000010
    ONLY_ACTIVE                     X
    SPRAS                           EN
    BYPASS_BUFFER
    Export parameters               Value
    ANW_STAT_EXISTING
    E_STSMA
    LINE                            OSNO NOTE   "this is the status text
    USER_LINE
    STONR                           00
    if line CS 'DELV'
    "ignore the Order
    endif.

  • Error while searching production order

    Hi All,
    I am using SAP B One 8.8 SP : 00 PL 16 at our client location.
    Whenever any used opens production order and tries to search added production order follwing error message is displayed.
    Error: " Invalid production bill of materials [Production Order - Product No.]  [Message 3702-2]"
    But on slecting the entry from the window List of production order, added production order is displayed.
    what will be solution to remove this error message. solution will be appreciable

    Hi,
    You may check this: Re: invalid Productionorder BOM
    Thanks,
    Gordon

  • Change in Sales order deleted all process production order

    Dear All,
    We have Make to order scenario for our export sales. When we have receive order we make production with reference of sales order with help of t-code MD50 then convert plan order into production order.
    IF sales department do changes in sales order it'll delete all processing production orders So, we have to do revoke all production orders manually.
    2 query is that, Is there any way to run MRP (Make-to-order) on all line items of sales order ?
    Please provide solution.
    Thanks,
    Farrukh khan

    Dear Farrukh,
    There is not tcode to run sales order for all line items, but if you run MD02 it will plan all sales order & line items also. You can run MD02.
    Regards
    Abhijit Gautam

Maybe you are looking for

  • Trying to way the pros and cons of upgrading to the octane

    3 lines, husband and son have ENV2's and I have an ENV3 with no problems at all with the shut down issue and have had it 2yrs.  We have no home phone and my phone is the main line so it's on 24/7 since I have an elderly Mom that lives in the area I h

  • Can connect to wireless, cant get internet

    Hello, I've recently been having an issue where I can connect to any wireless network, but I cant get an IP, and sometimes I get an internal IP, or even if I get one I cant get any internet connection. This is happening everywhere but my home. School

  • Navigating tabs in Safari

    I would like to say goodbye to Firefox now and start using only Safari. However there's one function that does not seem to work in Safari which I've been using a lot in Firefox. Navigating the tabs with keybord shortcuts Cmd+1/2/3/4/5 and so on to ch

  • Ebay photo up-loader

    The eBay photo up-loader (both of them) has stopped working in FireFox. I click on the links and nothing happens. The up-loader does work in IE.

  • Can't start Mavericks

    Maybe my question title is a little misleading, but I've been trying to search for a solution all over the web, so I don't really know how to put it. I just updated my mac from lion OS to Mavericks, a lot of things happened while downloading, like a