FM which get component and order status & return prod. orders

Hi all
does any one know a FM which get component and order status & return prod. orders?
thanks

see the transcation COOIS , i think it will be the details required by you
in the selection at component level block
enter the material no(component) , if required plant and storage location and then execute
hope it will solve ur purpose
so u can suggest for this TCode still u need a custom program u can submit these details from your z program
and get the output
table i am not sure see all these tables AUFK,AFKO,AFPO
cheers
s.janagar
Edited by: janagar sundaramoorthy Nadar on Jul 13, 2009 12:18 PM

Similar Messages

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • Adding Index server to existing farm, "Server Farm Product and Patch Status" returned 34 Missing Locally required products and patches

    Once I connected my new server to my farm's config db, it returned all of the following missing locally. I stripped out any redundancies and Headings, and I'm left with 43. I'm looking for a efficient strategy. Should I start with the lowest version number
    and work my way up? Current DB version is 14.0.7015.1000. IIRC, SP2 is cumulative, so can I ignore the first two (SP1 and Hotfix), install SP2, and then the Language packs and etc on top?
    Sorted by version:
    Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)
    Hotfix for Microsoft SharePoint Server 2010 (KB2775353) 64-Bit Edition (14.0.6105.5000)
    Service Pack 2 for Microsoft SharePoint 2010 (KB2687453) 64-Bit Edition (14.0.7015.1000)
    Service Pack 2 for Microsoft 2010 Server Language Pack (KB2687462) 64-Bit Edition (14.0.7015.1000)
    Microsoft Office Server Proof (English) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (French) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (Russian) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (Spanish) 2010 (14.0.7015.1000)
    Microsoft SharePoint Portal (14.0.7015.1000)
    Microsoft User Profiles (14.0.7015.1000)
    Microsoft SharePoint Portal English Language Pack (14.0.7015.1000)
    Microsoft Shared Components (14.0.7015.1000)
    Microsoft Shared Coms English Language Pack (14.0.7015.1000)
    Microsoft Slide Library (14.0.7015.1000)
    Microsoft InfoPath Forms Services (14.0.7015.1000)
    Microsoft InfoPath Form Services English Language Pack (14.0.7015.1000)
    Microsoft Word Server (14.0.7015.1000)
    Microsoft Word Server English Language Pack (14.0.7015.1000)
    PerformancePoint Services for SharePoint (14.0.7015.1000)
    PerformancePoint Services in SharePoint 1033 Language Pack (14.0.7015.1000)
    Microsoft Visio Services English Language Pack (14.0.7015.1000)
    Microsoft Visio Services Web Front End Components (14.0.7015.1000)
    Microsoft Excel Services Components (14.0.7015.1000)
    Microsoft Document Lifecycle Components (14.0.7015.1000)
    Microsoft Excel Services English Language Pack (14.0.7015.1000)
    Microsoft Search Server 2010 Core (14.0.7015.1000)
    Microsoft Search Server 2010 English Language Pack (14.0.7015.1000)
    Microsoft Document Lifecycle Components English Language Pack (14.0.7015.1000)
    Microsoft Slide Library English Language Pack (14.0.7015.1000)
    Microsoft SharePoint Server 2010 (14.0.7015.1000)
    Microsoft Access Services Server (14.0.7015.1000)
    Microsoft Access Services English Language Pack (14.0.7015.1000)
    Microsoft Web Analytics Web Front End Components (14.0.7015.1000)
    Microsoft Web Analytics English Language Pack (14.0.7015.1000)
    Microsoft Excel Mobile Viewer Components (14.0.7015.1000)
    Recommendations?
    Thanks,
    Scott

    Thanks guys. I was able to get through all of the patches except for
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - English   missing locally
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 -
    Spanish/Español missing locally
    This was my process:
    Config Wizard:
    Adding Index server to existing farm, "Server Farm Product and Patch Status" returned 34 Missing Locally required products and patches.
    SKIP installing the following two, as SP2 is cumulative
    Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000) (officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe)
    Hotfix for Microsoft SharePoint Server 2010 (KB2775353) 64-Bit Edition (14.0.6105.5000)
    install SP2 oserversp2010-kb2687453-fullfile-x64-en-us.exe
    install oslpksp2010-kb2687462-fullfile-x64-en-us.exe
    Got "There are no products affected by this package installed on this system."
    SO!
    Uninstalled Sharepoint 2010 Server
    WIll try to install again, without skipping #2, and reorder installation of oslpksp2010-kb2687462-fullfile-x64-en-us.exe
    Retry (the long way):
    Run SharePointServer.exe, get Missing Locally...
    Install oslpksp2010-kb2687462-fullfile-x64-en-us.exe SUCCESSFUL
    Install officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe SUCCESSFUL
    Reboot
    Install oserversp2010-kb2687453-fullfile-x64-en-us.exe SUCCESSFUL
    Rerun Config
    STILL MISSING
    Download oslpksp2010-kb2687462-fullfile-x64-es-es.exe, run, "there are no products affected..."
    Uninstall.
    Re-retried, only got through the first couple:
    Run SharePointServer.exe, get Missing Locally...
    Install SP1 officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe, SUCCESSFUL
    Install English Lang Pack oslpksp2010-kb2687462-fullfile-x64-en-us.exe, "There are no products affected by this package installed on this system."
    Install Spanish Lang Pack oslpksp2010-kb2687462-fullfile-x64-es-es.exe,
    Install SP2 oserversp2010-kb2687453-fullfile-x64-en-us.exe, run Config Wizard
    I'm now downloading 462150_intl_x64_zip.exe, going to try and install it as step three.
    Any suggestions greatly appreciated.
    Thanks,
    Scott

  • Cannot get asscess to order status, does my order go through?

    I cannot get asscess to order status, does my order go through?

    Please update to version 24.0
    Please try to clear cache and cookies:
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Status of Prod Order not updated as delta - 2LIS_04_P_COMP

    Hi all,
    We are currently using 2LIS_04_P_COMP to update the data to BI. We have enhanced the DS to include the status of the prod order from table JEST. However it seems that this is not getting updated to BI server whenever prod order change its status. There is a delta queue when I see in tcode LBWQ and then I run the collective update in LBWE and then it will disappear from the queue which is correct. But when I see in RSA7, there is nothing and also I run the infopackage in BI server, it cannot get any data. Anybody has this issue before?
    Many thanks in advance.
    Regards,
    Janet

    The delta will only be captured if the Production Order actually changes. When a change is made to the status of an object in JEST, or JCDS, it doesn't register as a change on the object. Therefore, changes in Production Order status won't invoke a change on the source tables for Production Orders and therefore not get captured on the 2LIS_04_P_COMP or 0PRODORDER_ATTR DataSiources.
    If you need to capture the changes in status for Production Orders, you will have to create a generic DataSource that is sourced by the JEST table and join it with the Production Order in BW.
    Edited by: Dennis Scoville on Sep 17, 2009 8:16 PM

  • A better way to get current and previous status?

    I'm working on a system where status messages are read into a table for items of equipment. My requirement is to find all the messages arriving within a particular time window, together with the status value and the status value for the previous message sent for that equipment item, if any. This previous message can (and probably will) have a date outside the window I'm looking at, or might not exist at all for a brand new equipment item.
    The table looks something like this:
    create table eq_state
    (eq_id      NUMBER,   -- ID of the equipment
    event_date DATE,     -- Date/Time of the message
    status     NUMBER)   -- Status passed in the messageThere are indexes on (event_date,eq_id) and on eq_id. It'll get very big, so it's important that indexes are used wherever possible.
    Here's what I have so far:
    WITH eq_state AS
    SELECT 1 eq_id, TO_DATE('01/05/2013 12:01:00','DD/MM/YYYY HH:MI:SS') event_date, 1 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 01:01:00','DD/MM/YYYY HH:MI:SS') event_date, 2 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 12:02:00','DD/MM/YYYY HH:MI:SS') event_date, 3 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 10:00:00','DD/MM/YYYY HH:MI:SS') event_date, 4 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:03:00','DD/MM/YYYY HH:MI:SS') event_date, 5 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:04:00','DD/MM/YYYY HH:MI:SS') event_date, 6 status FROM DUAL
    SELECT eq_id,TO_CHAR(event_date,'DD/MM/YYYY HH:MI:SS') event_date,curr_state,prev_state
    FROM  (SELECT Es.Eq_Id,
                  Es.Event_Date,
                  Es.Status AS Curr_State,
                  Es2.Status AS Prev_State,
                  RANK() OVER (PARTITION BY es.eq_id,es.event_date ORDER BY es2.event_date DESC) the_rank
           FROM   Eq_State Es
           LEFT OUTER JOIN Eq_State Es2
           ON     Es2.Eq_Id = Es.Eq_Id
           AND    Es2.Event_Date < Es.Event_Date
           WHERE  Es.Event_Date BETWEEN TO_DATE('01/05/2013 12:00:00','DD/MM/YYYY HH:MI:SS')
                                    AND TO_DATE('01/05/2013 12:05:00','DD/MM/YYYY HH:MI:SS')) x
    WHERE  the_rank = 1
    ORDER BY 1,2This gives me the desired results and seems to use sensible indexes (I'll spare you the explain plan):
         EQ_ID      EVENT_DATE          CURR_STATE PREV_STATE
             1 01/05/2013 12:01:00          1          
             2 01/05/2013 12:02:00          3          2
             3 01/05/2013 12:03:00          5          4
             3 01/05/2013 12:04:00          6          5So what's the problem? Just curiosity really - the technique of finding the RANK() in the inline view, and then selecting rows where it's equal to 1 seems like a bit of a kludge. Is there a more elegant way to do it? Maybe something using LAG() or KEEP DENSE_RANK LAST?
    I'm still not really up-to-speed with analytic functions, so I'm hoping to learn something from those of you that are!
    ORACLE 11.2.0.1.0 by the way

    I would use another way, firstly sorting by any unique criteria and using joins
    WITH eq_state AS
    SELECT 1 eq_id, TO_DATE('01/05/2013 12:01:00','DD/MM/YYYY HH:MI:SS') event_date, 1 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 01:01:00','DD/MM/YYYY HH:MI:SS') event_date, 2 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 12:02:00','DD/MM/YYYY HH:MI:SS') event_date, 3 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 10:00:00','DD/MM/YYYY HH:MI:SS') event_date, 4 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:03:00','DD/MM/YYYY HH:MI:SS') event_date, 5 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:04:00','DD/MM/YYYY HH:MI:SS') event_date, 6 status FROM DUAL
    ), sorted as (
      select row_number() over (order by a.event_date) as rn, a.* from eq_state a
    select * from sorted s1
    left join sorted s2 on (s2.rn = s1.rn -1)
    order by s1.rn
            RN      EQ_ID EVENT_DATE                STATUS         RN      EQ_ID EVENT_DATE                STATUS
             1          2 01.05.2013 01:01:00            2                                                       
             2          3 01.05.2013 10:00:00            4          1          2 01.05.2013 01:01:00            2
             3          1 01.05.2013 12:01:00            1          2          3 01.05.2013 10:00:00            4
             4          2 01.05.2013 12:02:00            3          3          1 01.05.2013 12:01:00            1
             5          3 01.05.2013 12:03:00            5          4          2 01.05.2013 12:02:00            3
             6          3 01.05.2013 12:04:00            6          5          3 01.05.2013 12:03:00            5

  • How to get user and system status for a trade promotion

    Hi,
    I have to develop a batch program to change user status and system status of all trade promotions which satisfy some criteria. This criteria checks some dates related to trade promotion(like Changed on,Pallett buying, buying horizon dates) also.
    I thought of first extracting all external ids from CGPL_PROJECTS table and then run trade promotion query. But how can I get current user & system status and all dates as these can be taken from relations "TPMStatusActiveRel" and "TPMDateRel". I don't know to take data from relations. Please help me with a piece of code.
    Thanks.

    Hello Shikha,
    You can use these relations here, as you are not in the Business Object layer anymore. As far as my understanding is, all the batch programs or reports should be done at the API layer. Try this code, to read the status of the Trade Promotion object.
    data: lr_appl_base type ref to CL_CRM_MKTPL_APPL_BASE,
            lt_sys_status type CGPL_ISTATUS_TEXT_T.
    lr_appl_base ?= CL_CRM_MKTPL_APPL_BASE=>GET_INSTANCE().
    " To read system status
    call method lr_appl_base->STATUS_READ
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status.
    " To read user status
    call method lr_appl_base->STATUS_READ_EXTERN
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status1.
    To change the user status, use the method STATUS_CHANGE_EXTERN of the same class
    To set the system status, use the method STATUS_SET of the same class.
    Hope this helps.
    Regards,
    Vinay

  • Order and item status in sales order

    We had multiple items in the sales order
    for one of the item, the quantity was 5, but user cretaed a delivery of 8. but she only post goods issue for 5.
    the delivery and order was open
    at this stage the archival of delivery took place.
    we changed the status in tables vbuk and vbup to complete.
    but in the display of status in sales order, it still shows being processed.
    What can we do now to set the order status and item status to COMPLETE.
    Thank you for your reply

    Hi,
    This order status will not be complete unless the delivered quantity is equal to the order quantity. You have 2 options. 1. Change the order quantity to 8 and delliver the rest 3 and the order status will be set to COMPLETE. 2. Otherwise, reverse the PGI in VL09n and delete the delivery and create the delivery again for 5 qty. This will set the order status as COMPLETE.
    Regards,
    Raghav

  • Add component and Delete Operation in Process order Using COR2

    Hello,
    I need to update any process order (Add components in it and delete some operations of it) on the save of the process order.
    Transaction for change PO: COR2.
    I have found a badi to change in process order (WORKORDER_UPDATE) Method: BEFORE_UPDATE.
    But this badi has all the parameters as Importing. Hence we can not change them.
    If we use field symbols in this badi to change the values,will it make any other issues?
    I have also identified a user exit EXIT_SAPLCOBT_001 but this exit is called very late in the processing, and you cannot change data into that user exit ...check Note (86553 - Documentation on user exits).
    Kindly post your valuable comments and answers.
    Thanks in advance.
    Edited by: Nitin Nyati on Sep 1, 2010 1:09 PM

    Hi ,
    Possibility  , in C202 , user may have changes the BOM first and re-assign the phase  but in process order level Read PP master did not call
    Another possibility manually change the process order component and assign this in Phase in COR2 .Please check  whether it has been added manually in order level . 
    Regards
    JH

  • Activation of User status for Prod. order

    Hi,
    I have created a status profile with a status as a user status for production order. Now the thing is how to activate this user status for a specific transaction.
    the requirement is after settlement the user status should get activated for production order.
    Regards
    Amit Parkhi

    Hi Amit,
    As told by Ajay , after assigning Status Profile in OPJH you can assign User Status to production order as below:
    Pls. go through the following procedure for activating the User Status :
    Activating User Statuses
    Use
    You can activate a user status at order header and at operation level.
    Procedure
    Order Header Level
    Go to the order header.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Operation Level
    Go to the operation overview.
    Select the operation in question.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Pls. follow the above procedure as per rquirement and set user status accodingly.
    Pls. revert if any doubt and reward if useful.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Jun 23, 2008 8:10 AM
    Edited by: Tejas  Pujara on Jun 23, 2008 8:11 AM

  • Need a Badi to look the good issue status for prod order before good receipt in MIGO

    Hi ,
    Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
    Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
    and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
    message saying still goods issue are pending for prod order.
    Please advise .
    Thanks
    Prasad

    Hi Prasad,
    Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
    Note that you can have a termination in case of having problems in the goods movements..
    Take a look of this and the SAP help:
    Termination of Confirmation if Incorrect Goods Movements
    Controls if the confirmation is terminated in the event of incorrect goods
    movements.
    Use
    This enables you to terminate the confirmation in the event of incorrect
    items, for example, to prevent postprocessing records.
    Dependencies
    The indicator is only evaluated if either no process control key or one
    process control key has been stored that enbles the goods movements to be posted
    in dialog AND for which the "provide error handling for goods movements"
    indicator is active. If there are incorrect goods movements, the system behaves
    as follows:
    A log is issued that gives information on the incorrect goods movements
    If these incorrect goods movements are determined by inventory management,
    then the option of correcting these errors is offered in the error handling
    If the correction is not successful, the confirmation is terminated
    Kind Regards,
    Mariano

  • BAPI or FM to get material goods issue for a prod order

    Hi
    I need a FM to get the material goods issue for a prod order. Please let me know.
    Thanks and regards
    Harish

    Hi Harish,
    use FM <b>BAPI_GOODSMVT_CREATE.</b>
    have a look at this thread ..
    FM for good issue for production order
    Regards,
    Santosh

  • Sales order and automatic release of prod order

    please tell me how a sales order can be automatically converted into production order by running MRP.
    please give me configuration details

    Hi Kumar
    Please letus know the planning startegy .
    If MTO  u can use planning startegy = 82,
    When  u create sale order for header material , assembly prod  order will be created automatically with out MRP Run.If u have Multi level Bom u have to run MRP.
    MRP will not create prod order directly, it will create planned order based on cutomer requirements, u have to convert it to prod order manually.   
    Regards
    Pradeep

  • Sales order based on prod order

    Hello,
    There is a sales order based on production order (one item).
    I just want to know what happens in CO once sales orde is posted?
    How many doc are created and of which record type?
    What kind of changes happens after the settlement of the order?
    Thanks

    no answer

  • Clubbing two Pl Order to one prod Order

    Hi,
    In MTO scenario we have two Sales orders from two different customers for the same FG and two pl orders are generated after MRP now we want to have a single prod Order for these two as production people does not bother about customers while producing and after conformation of this single Prod order we need to allocate to the customers according to their sales order qty.
    How to map this in sap, as we want to use Individual u201C02u201D indicator in MRP views against availability check.
    Please suggestu2026u2026u2026u2026u2026u2026..
    pavan

    Dear ,
    As you have mentioned that two planned order generated  from different sales order , it means finsihed good will be in two individual Sales Order Stock once the production gets complete and subsequently , invoice n delivery will be done .
    Now , in that case why two planned Order should be clubbed in PO and how will you do the cost analysis in individual level as its MTO order .
    I think  you can achieve this if you follow MTS busniess process with Planning Stratgey 20 or Gross Requirement Palnnig -11(Mixed MRP) .In that case , you need to Sale the FG as traded item (TAN Item categoery ) and stok will be lying in Unrestricted stock .
    Just analysis and revert us if you need farther help
    Regards
    JH

Maybe you are looking for

  • 9.2.0.6 RMAN Disaster recovery issue

    Our production database crashed and we are doing DR on a new host. We dont have any catalog database and we dont use controlfile autobackup. We just do a full backup including controlfile and also archive logs CONFIGURE DEFAULT DEVICE TYPE TO DISK; r

  • Can't re-install the iTunes

    Dear All, I can't re-install the iTunes after i removed it accidentally. i have download the lates iTunes version but when i want to install it, The error message is : really appreciate the answers and help. thank you

  • How to track a Material Code in MM with a Fixed Asset number?

    Hello Gurus! is there any t-code or way to track or link a material code generated in MM with its related fixed asset nummber? < removed by moderator - anybodies discussion is equally important > Thanks Message was edited by: Jürgen L

  • BAPI for clearing vendor invoice

    Dear SAP Guru's,                              I need to make clearing of the invoice made for particular vendors on daily basis, i have tried to look in the forum but i find regarding the posting of vendor invoice but --- My requirement is to schedul

  • Quciktime Error 3

    When I installed itunes it went smooth untill quicktime had to install, the error 3 came up and said quciktime couln't be installed. This prevents me from opening itunes. Anyway, I have tried to uninstall my old version of quicktime but the uninstall