Relation between operation and component in Production order

Hi All
I am new to PP. I need to get the tables which gives relation between operation and components in Production Order. I need to display in smartform the components assigned.
Thanks and regards
Swetabh Shukla

Hi,
Try with AFVV Table.
You need to get the Details of the Filed : AUFPL from AFKO.
Hope this helps..
Regards,
Siva
Hi,
You can get the details from Table : RESB.
Regards,
Siva
Edited by: Siva Kumar M on May 23, 2008 10:49 AM

Similar Messages

  • What is the relation between UTXJ and JMOD, how JMOD determine in order

    Hi All,
    What is the relation between UTXJ and JMOD! 
    How JMOD determine in order! ( For TAXINJ).
    Please help me
    Regards
    raj

    Dear Raj
    Both are not related in anyway.  UTXJ is for sales tax and JMOD is for excise condition.  For UTXJ, you need to create a tax code in FTXP and assign it in VK11 / UTXJ, whereas, JMOD is an excise condition type for which, you need to maintain the relevant datas in J1ID.
    Coming to your question, how JMOD is determined in sale order, it is based on delivering plant.  This delivering plant, as already said above, you will have to maintain in J1ID with the indicator "1" under declared tab in Material Chapter ID combination.
    thanks
    G. Lakshmipathi

  • Difference between Valuated and Non valuated Sale order stock

    Hi All,
    Can anybody tell me the difference between the above said subject with the steps involved in each scenario.
    That is valuated sale order stock and Non valuated sale order stock in Product cost by Sale Order.
    With Journal entries at each step and whether any WIP or variances at Production order level and sale order level and all the financial entries related to them
    Thanks in Advance,
    Ravi Kumar

    Hi Shail,
    Thans for your inputs,
    But I wanted to know it in more detail. In what scenarios they are used with financial entries in both the cases.
    I will give you my scenario. It goes like this,
    My client is in pipe coating business, who receives pipes from customers and does only coating work(which is considered as service) and despatches it to the customer. this process is carried on the basis of work order(Sale order).
    Now Production order is created and work is done on that with reference to Sale order for that particular customer.
    So the pipe which my client receives should be non valuated stock as it will not be a raw material to them and the cost incurred on it is booked on production order like chemicals as raw material consumption, activity cost etc.
    now in this scenario just tell me how and at which stage FI entries get generated at Production order and Sale order level, and also at wat level Standard cost estimate should be created i,e at production order level or sale order level(sale order cost estimate).
    Will there be any entries at goods isssue and GR against production order. If no then how the COGM account will get hit.
    Please tell me this scenario in both cases Valuated sale order stock and Non valuated sale order stock with financial entries in Sale order costing.
    Thanks & Regards,
    Ravi Kumar

  • IDoc creation on save and change of production order

    I am looking for a way to create, and send if possible (if not I'll send with a batch job), on the save (creation and change) of production orders.  This will be a modified LOIPRO iDoc.  Currently we have a customer exit on the save of the production order but because it is before the save we must predict the number of the prod order.  This has worked but now we are creating one production order per line item in a sales order (automatically) so this is causing us to predict the same production order number twice.  We need a way to automatically create and send an iDoc for all production orders for given plants.  Right now the solution we are looking at is creating an output type and running through those output types a few times a day, sending them down to the Shop Floor system (proprietary system). 
    Is there anything setup in SAP that we can utilize?
    Regards,
    Davis

    Hi Rick,
    Follow the below sample steps for changing component quantity:
    DATA:
        l_methods TYPE bapi_alm_order_method,
        it_boperations TYPE STANDARD TABLE OF  bapi_alm_order_operation_e WITH HEADER LINE,
        it_components TYPE STANDARD TABLE OF bapi_alm_order_component_e WITH HEADER LINE,
        it_components1 TYPE STANDARD TABLE OF bapi_alm_order_component WITH HEADER LINE.
    1. Call BAPI :BAPI_ALM_ORDER_GET_DETAIL , it will give existing order component details.
    CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL'
        EXPORTING
          number        = <production order number>
        TABLES
          et_operations = it_boperations
          et_components = it_components
          return        = it_bapiret2.
    2. Move it_components to components table compatibel to BAPI "BAPI_ALM_ORDER_MAINTAIN".
    LOOP AT it_components.
    MOVE-CORRESPONDING it_components TO it_components1.
    _*"Note here while moving change the component quantity"*_
    APPEND it_components1.
    CLEAR it_components1.
    ENDLOOP.
    3. Build the methods table for change production order :
    it_methods-refnumber = v_refnumber.
                it_methods-objecttype = 'COMPONENT'.
                it_methods-method = 'CHANGE'.
                it_methods-objectkey = v_objectkey.
                APPEND it_methods.
    "Note v_refnumber has 1 to 1 relation ship with the components table, if you want to change First component in it_components1 then you have to enter value '1' here for v_refnumber.
    it_methods-method = 'SAVE'.
            APPEND it_methods.
    4 . Call
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
              TABLES
                it_methods   = it_methods
                it_component = it_components1
                return       = it_bapiret2.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

  • What are the Relations between Journalizing and IKM?

    What is the best method to use in the following scenario:
    I have about 20 source tables with large amount of data.
    I need to create interfaces that join the source tables into target tables.
    The source tables are inserted every few secondes with about hundreds to thousands rows.
    There can be a gap of few seconds between the insert of different tables that sould be joined.
    The source and target tables are on the same Oracle instance and schema.
    I want to understand the role of: 'Journalizing CDC' and 'IKM - Incremental Update' and
    how can i use it in my scenario?
    In general What are the relations between 'Journalizing' and 'IKM'?
    Should i use both of them? Or maybe it is better to deelte and insert to the target tables?
    I want to understand what is the role of 'Journalizing CDC'?
    Can 'IKM - Incremental Update' work without 'Journalizing'?
    Does 'Journalizing' need to have PK on the tables?
    What should i do if i can't put PK (there can be multiple identical rows)?
    Thanks in advance Yael

    Hi Yael,
    I will try and answer as many of your points as I can in one post :-)
    Journalizing is way of tracking only changed data in your source system, if your source tables had a date_modified you could always use this as a filter when scanning for changes rather than CDC, Log based CDC (Asynchronous in ODI, Logminer/Streams or Goldengate for example) removes the overhead of of placing a trigger on the source table to track changes but be aware that it doesnt fully remove the need to scan the source tables, in answer to you question about Primary keys, Oracle CDC with ODI will create an unconditional log group on the columns that you have defined in ODI as your PK, the PK columns are tracked by the database and presented in a Journal table (J$<source_table_name>) this Journal table is joined back to source table via a journalizing view (JV$<source_table_name>) to get the rest of the row (ie none PK columns) - So be aware that when ODI comes around to get all data in the Journalizing view (ie Inserts, Updates and Deletes) the source database performs a join back to the source table. You can negate this by specifying ALL source table columns in your PK in ODI - This forces all columns into the unconditional log group, the journal table etc. - You will need to tweak the JKM to then change the syntax sent to the database when starting the journal - I have done this in the past, using a flexfield in the datastore to toggle 'Full Column' / 'Primary Key Cols' to go into the JKM set up (there are a few Ebusiness suite tables with no primary key so we had to do this) - The only problem with this approach is that with no PK , you need to make sure you only get the 'last' update and in the right order to apply to your target tables, without so , you might process the update before the insert for example, and be out of sync.
    So JKM's provide a mechanism for 'Change data only' to be provided to ODI, if you want to handle deletes in your source table CDC is usefull (otherwise you dont capture the delete with a normal LKM / IKM set up)
    IKM Incremental update can be used with or without JKM's, its for integrating data into your target table, typically it will do a NOT EXISTS or a Minus when loading the integration table (I$<target_table_name>) to ensure you only get 'Changed' rows on the load into the target.
    user604062 wrote:
    I want to understand the role of: 'Journalizing CDC' and 'IKM - Incremental Update' and
    how can i use it in my scenario?Hopefully I have explained it above, its the type of thing you really need to play around with, and throroughly review the operator logs to see what is actually going on (I think this is a very good guide to setting it up : http://soainfrastructure.blogspot.ie/2009/02/setting-up-oracle-data-integrator-odi.html)
    In general What are the relations between 'Journalizing' and 'IKM'?JKM simply presents (only) changed data to ODI, it removes the need for you to decide 'how' to get the updates and removes the need for costly scans on the source table (full source to target table comparisons, scanning for updates based on last update date etc)
    Should i use both of them? Or maybe it is better to deelte and insert to the target tables?Delete and insert into target is fine , but ask yourself how do you identify which rows to process, inserts and updates are generally OK , to spot a delete you need to compare the table in full, target table minus source table = deleted rows , do you want to copy the whole source table every time to perform this ? Are they in the same database ?
    I want to understand what is the role of 'Journalizing CDC'?Its the ODI mechanism for configuring, starting, stopping the change data capture process in the source systems , there are different KM's for seperate technologies and a few to choose for Oracle (Triggers (Synchronous), Streams / Logminer (Asynchronous), Goldengate etc)
    Can 'IKM - Incremental Update' work without 'Journalizing'?Yes of course, Without CDC your process would look something like :
    Source target ----< LKM >---- Collection table (C$) ----<IKM>---- Integration table (I$) -----< IKM >---- Target table
    With CDC your process looks like :
    Source Journal (J$ table with JV$ view) ----< LKM >---- Collection table (C$) ----<IKM>---- Integration table (I$) -----< IKM >---- Target table
    as you can see its the same process after the source table (there is an option in the interface to enable the J$ source , the IKM step changes with CDC as you can use 'Synchronise Journal Deletes'
    Does 'Journalizing' need to have PK on the tables?Yes - at least a logical PK in the datastore, see my reply at the top for reasons why (Log Groups, joining back the J$ table to the source table etc)
    What should i do if i can't put PK (there can be multiple identical rows)? Either talk to the source system people about adding one, or be prepared to change the JKM (and maybe LKM, IKM's) , you can try putting all columns in the PK in ODI. Ask yourself this , if you have 10 identical rows in your source and target tables, and one row gets updated - how can you identify which row in the target table to update ?
    >
    Thanks in advance YaelA lot to take in, as I advised I would reccomend you get a little test area set up and also read the Oracle database documentation on CDC as it covers a lot of the theory that ODI is simply implementing.
    Hope this helps!
    Alastair

  • Relation between PLAF and MSEG

    Hi
    Can anyone provide me with a relation between PLAF and MSEG table
    Thanks
    VRV

    HI VRV,
    I don't know if you have already got the response to your query. But for your requirement, i believe you should be looking at PLAF & tables like AFKO, AFPO, AFRU.
    AFKO is order header, AFPO for the order details & AFRU for the confirmations.
    From the PLAF you can get planned order details, from the others you can get the order & qty which has been converted to production order, the qty which has been confirmed.
    Have a look at these tables & if you need any further inputs, message back & will try my best to be of some help.
    Regards,
    Vivek

  • Relation between EJB and CORBA

    Hi,
    I'm confused as to the relation between EJB and CORBA. Some books I've read say that CORBA is used to implement the underlying RMI protocol in EJB while others say it is an alternative to EJB.
    Could someone please clarify.
    Thanks

    Could you pleae restate your question.
    I'm assuming you want to bind a Corba object to a
    CosNaming service from within a j2ee component. JNDI
    supports this case fully via their CosNaming service provider
    (see http://java.sun.com/products/jndi/serviceproviders.html) JNDI is part of J2SE, so it's fully available to any J2EE component.
    Amlan on behalf of Kenneth Saks

  • Nature of relations between Containers and Components in AWT

    I don't know if this entitles me for Duke Dollars but I just wanted to contribute something anyway. Please let me know if it does. Here it's:
    import java.awt.*;
    import java.applet.Applet;
    import java.awt.event.*;
    Name: Negib Mohamed
    Purpose: to show the relationship between Containers and Components is 1:n
    Software: JDK Standard Edition (build 1.4.2_05-b04)
    Date: 30/04/2005
    The following program shows that the relationship between Container and Component classes is 1:n (one to many). A Component object can only be added to one and only one Container object whereas a Container object can contain as many Component/Container objects as needed. The button b1 (a Component object) shows, as shown when the program below is run, in only panel p1 or p2 (Container objects) depending on whether which one of the objects (panels) is instantiated last. It seems that the one instantiated last snatches the button object from the one instantiated first. When the button is clicked either of the following is output by the program, depending on which lines are uncommneted:
    java.awt.Button[button0,29,5,37x23,label=One]
    java.awt.Button[button0,28,5,37x23,label=Two]
    The same button (button0) with two different labels (One and Two) which are set in their respective containers (panels). Comment and uncomment the lines indicated below to see the result.
    After compilation just run it at the prompt as an application as in say:
    c:\javadir\java Relations
    public class Relations extends Applet implements ActionListener {
    Button b1;
    Panel p1, p2;
    public static void main(String[] args) {
    Frame fr = new RelationsFrame("Relations Frame");
    fr.setSize(200, 100);
    fr.show();
    public void start(){
    b1 = new Button();
    b1.addActionListener(this);
    // p2 = new PanelTwo(b1); //p2- instantiated first
    // p1 = new PanelOne(b1); //p1- instantiated last
    //uncommnet the two lines above and comment above the two below to see the result
    p1 = new PanelOne(b1); //p1- instantiated first
    p2 = new PanelTwo(b1); //p2- instantiated last
    setLayout(new BorderLayout());
    add(p1, "North");
    add(p2, "South");
    public void actionPerformed(ActionEvent e){
    System.out.println(e.getSource());
    class RelationsFrame extends Frame {
    Applet applet;
    public RelationsFrame (String title) {
    super(title);
    applet = new Relations();
    applet.start();
    add(applet);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    dispose();
    System.exit(0);
    class PanelOne extends Panel {
    Button b;
    PanelOne (Button b) {
    this.b = b;
    b.setLabel("One");
    add(b);
    add(new Label("I am panel one."));
    class PanelTwo extends Panel {
    Button b;
    PanelTwo(Button b) {
    this.b = b;
    b.setLabel("Two");
    add(b);
    add(new Label("I am panel Two."));
    This is a variation of the above program. It takes a commnad line argument as the choice of the panel to display the button in.
    public class Relations2 extends Applet implements ActionListener {
    Button b1;
    Panel p1, p2;
    int pNum;
    public static void main(String[] args) {
    String s = "2"; //default
    if (args.length != 0)
    s =args[0];
    Frame fr = new RelationsFrame("Relations Frame", s);
    fr.setSize(200, 100);
    fr.show();
    public Relations2 (String num) {
    try {
    pNum = Integer.parseInt(num);
    catch(NumberFormatException e) {
    System.out.println("Defaulted to panel two.");
    pNum = 2;
    public void start(){
    b1 = new Button();
    b1.addActionListener(this);
    if (pNum == 1) {
    p2 = new PanelTwo(b1); //p2- instantiated first
    p1 = new PanelOne(b1); //p1- instantiated last
    else {
    p1 = new PanelOne(b1); //p1- instantiated first
    p2 = new PanelTwo(b1); //p2- instantiated last
    setLayout(new BorderLayout());
    add(p1, "North");
    add(p2, "South");
    public void actionPerformed(ActionEvent e){
    System.out.println(e.getSource());
    class RelationsFrame extends Frame {
    Applet applet;
    public RelationsFrame (String title, String num) {
    super(title);
    applet = new Relations2(num);
    applet.start();
    add(applet);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    dispose();
    System.exit(0);
    }

    Thank you. I didn't include some of the statements to make the text short. Now that you mentioned I forgot the import statements, here is the complete code including the two panels I left out in my previouse posting. Cheers:
    import java.awt.*;
    import java.applet.Applet;
    import java.awt.event.*;
    Author: Negib Mohamed
    Purpose: to show the relationship between Containers and Components  is 1:n
    Software: JDK Standard Edition (build 1.4.2_05-b04)
    Date: 30/04/2005
    public class Relations extends Applet implements ActionListener {
       Button b1;
       Panel p1, p2;
       int pNum;
       public static void main(String[] args) {
          String s = "2";    //default
         if (args.length != 0)
            s =args[0];
          Frame fr = new RelationsFrame("Relations Frame", s);
          fr.setSize(200, 100);
          fr.show();
       public Relations (String num) {
          try {
             pNum = Integer.parseInt(num);
          catch(NumberFormatException e) {
             System.out.println("Defaulted to panel two.");
             pNum = 2;
       public void start(){
          b1 = new Button();
          b1.addActionListener(this);
          if (pNum == 1) {
             p2 = new PanelTwo(b1);               //p2- instantiated first
             p1 = new PanelOne(b1);               //p1- instantiated last
          else {
            p1 = new PanelOne(b1);               //p1- instantiated first
            p2 = new PanelTwo(b1);               //p2- instantiated last
          setLayout(new BorderLayout());
          add(p1, "North");
          add(p2, "South");
       public void actionPerformed(ActionEvent e){
          System.out.println(e.getSource());
    class RelationsFrame extends Frame {
       Applet applet;
       public RelationsFrame (String title, String num) {
          super(title);
          applet = new Relations(num);
          applet.start();
          add(applet);
          addWindowListener(new WindowAdapter() {
             public void windowClosing(WindowEvent e) {
                dispose();
                System.exit(0);
    class PanelOne extends Panel {
       Button b;
       PanelOne (Button b) {
          this.b = b;
          b.setLabel("One");
          add(b);
          add(new Label("I am panel one."));
    class PanelTwo extends Panel {
       Button b;
       PanelTwo(Button b) {
          this.b = b;
          b.setLabel("Two");
          add(b);
          add(new Label("I am panel Two."));
    }

  • Block Operation Number Change in Production order

    hello,
    How can i block the operation number change in production order if the operation status is CNF...?
    ie either disable the operation number cell or disable the entire row in the production order.
    rgrds
    Krishna.

    hi prashob
    i can't disable the column, as user need to insert operations in between
    AP, 
    I will check for this...
    regards
    Krishna

  • Add/change multiple operations on a released Production Order

    How can I add/change multiple operations on a released Production Order...I know how to add them manually one by one but is there a better way to add...like copy/paste since i am adding operations from an alternate route? Please advise?

    Hy Aziz,
    In process order go to operation screen go to Operation - Include Master recipe, then one pop up comes select required Master recipe and add operations of your interest.
    But there are some restriction which doesn/t allow it if Inspection Lot, Control Recipe are created..
    Regards,
    Dhaval

  • Component ATPin production order

    Hi experts!
          I have 2 production order 1 and 2 for same FG.
         In component of FG has component X.
              Production order 1 needs 5 pcs of X. Prodcution order 2 need 5 pcs also.
              And my stock is 0, 1 Fixing PR of X with 5 pcs.
        The problem is when I do component ATP for production order 1. It can commit 5 pcs. But when I do component ATP for production order 2, it also commite 5 pcs. How can? Because I only have 5 pcs of X in Availble. How system can commite 2 order with 10 pcs for X?
    Regards,
    Tony

    Dear Tony,
    Not in front of system
    Go to OPJJ , you can find option
    Check without RLT ( Replenishment Lead time ), Mark a tick for this option
    Also check the option for include all reservations for this option make it as production order released
    Then create new order & check the result
    Regards
    Madhu

  • Restricting Modification In Component Of Production Order

    Hi,
    In our business scenario, we have @ 18 users who have authorisation for transaction Code CO02. If these users need to change any component in production order, they change the existing component directly.Keeping the exsting authorisation intact, I want to restrict these users from changing components of a production order. Rather they should delete the component which they want to change & add the same component again with the changed properties.
    How to apply lock only for modifying exsting component in the production order?

    I think you should use a transaction variant for this to be implemented.
    Use SHD0 to create a transaction variant.
    First selsct the users for which you want that he should not be able to cahnge the components.
    Then using ids for users one by one you need to activate the transaction variants separately for each and every user which makes the components grayed out in there log in. By this they will not be able to do the changes.
    You have to do it directkly in production environment, Try it in Development first and then replicate in Production.

  • Relation between sapstartsrv and saphostexec

    I am trying to implement note 1826767 which says:
    Resolution
    Configure https for the sapstartsrv process. The necessary steps are described in the chapter 'Configuring HTTPS for the SAP Host Agent' in the SAP HANA Automated update guide.
    My question is what is the relation between sapstartsrv and saphostexec here, i.e. why configuring HTTPS  saphostexec is equivalent to configuring HTTPS for sapstartsrv?   sapstartsrv and saphostexec are 2 different executables.
    Thanks!

    Hi Christina,
    In newer versions of SAP, SAPHostExec
    saphostexec is an executable that runs under root (UNIX) or the Local System Account (Microsoft Windows). It controls all of the functions for which a special user of this type are required, such as the operating system collector saposcol and sapacosprep. It is connected to sapstartsrv in host mode using a local socket, which ensures quick and secure communication and is also started during the startup of the host.
    Refer SAP help Monitoring Hosts with SAPHostControl and saphostexec - Infrastructure of the SAP NetWeaver Management Agents - SAP Libra…
    When you check the status of saphostexec using the command
    /usr/sap/hostctrl/exe/saphostexec -status
    You will see below processes
    saphostexec running (pid = 4729)
    sapstartsrv running (pid = 4732)
    saposcol running (pid = 0)
    I guess the relation is clear for you.
    Hope this helps.
    Regards,
    Deepak Kori

  • Relation between Hyperion and ODI(Oracle Data Interagtor)

    Hi Friends,
    Now ODI became ad popular ELT Product. Companies looking ODI Developer having experience with Hyperion.
    May i know what is Hyperion and what was the relation between Hyperion and ODI.
    Regards,
    Kishore
    9676404087.

    Hi John,
    Is mandatory to know any of the hyperion products - Essbase, Planning, HFM for ODI Developer. If it is mandatory Please let me know which is good.
    --Kishore                                                                                                                                                                                                                                                                                                                                                               

  • Relation between PS and FI func areas

    Hi
    I am doing now as a BI consultant,I am planning to learn PS func area.
    Can any one say the relation between PS and FI func areas
    Cheers
    Sunil Reddy LCP

    Hi,
    Please follow the details which depicts about integration of PS module with FI/CO in nutshell.
    1. Costing and Budgeting of the Project
    • Cost planning in the work breakdown structure • Network costing • Budgeting and availability control
    • Commitment and actual costs through account assignment and order assignment
    2. Revenue and Payments
    • Revenue and payment planning in the project
    3. Period-End Closing
    • Interest calculation
    • Incoming orders
    • Settlement
    • Result Analysis
    To know more details of the above, please refer the below URL
    http://help.sap.com/erp2005_ehp_02/helpdata/en/86/98853478616434e10000009b38f83b/frameset.htm
    Hope this will help you.
    Regards,
    Rakesh Pradhan

Maybe you are looking for

  • HT4623 Phone does not work after update

    After update 6.1.4 phone cannot find signal to function even though wireless works.  Cannot reload update...says it's up to date.  Reboot nothing,  Reset, nothing.  Really beginning to dislike this piece of junk.  Just need a phone that works.

  • Batch number maangement , Attribute1 & 2

    Hi, Experts, Pls advise where to find the manual for batch managment in how to operate this function. The attribute 1 and attribute 2, what're those for? Thanks. Emily

  • Corrupted Windows 7 install on W520 need to reinstall Windows?

    Somehow I have corrupted my Windows 7 installation on my W520. I receive this error message from Windows when I try to open standard links with Windows Explorer: "This file does not have a program associated with it for performing this action. Please

  • Computer location is not accurate

    My Macbook Pro's location continues to default to some place called "Conway, Illinois". It should be Seattle, WA. I have a solid internet connection and my computer can be found on "Find My Mac". What's it take to get Location Services to work?

  • Shane...need your expertise Re: stock answer# 42

    Shane, Having a problem with one of my clients airing ( cable ) a DVD I deliver. Even though I give them a letterboxed DVD, it plays back from their machine vertically stretched. I am at wits end. Please allow me to give you some info. I edit in Pror