Plpo and afvc table

how to get link between plpo and afvc table regarding recipe group and and its detailsfor various operations like different group couner, how could we understand the required one

Hello,
Could you please explain a little bit about your requirement?
Coz PLPO & AFVC can be linked through fields - Group & Group Counter. Also this can be further linked to AFRU using confirmation numbers & etc.
Revert with details.
Regards,
Anup

Similar Messages

  • Can we write a join on a view and a table

    Hi all,
    can we write a join on a view and a table. i got the requirement from my functional people about the following one
    Select CAUFV-AFUNR, CAUFV-AUART, AFVC-VORNR, CAUFV-FTRMI, CRHD-ARBPL
    into <ProOrd>, <OrdTyp>, <Opt>, <RelDat>, <WorCen>
    from CAUFV, AFVC, CRHD
    where CAUFV-WERKS = plant in selection screen
    and CAUFV-AFUNR = production order in selection screen
    and CAUFV-AUART = production order type in selection screen
    and CAUFV-FTRMI = range of release date in selection screen
    and CAUFV-AUFPL = AFVC-AUFPL
    and AFVC-ARBID = CRHD-OBJID
    and CRHD-OBJTY = ‘A’
    here CAUFV is a view and CRHD and AFVC are transperent tables.
    please tell me any feasible solution for this..
    Thanks  in Advance..

    Hi
    Refer these links:
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ec84446011d189700000e8322d00/content.htm</u>
    <u>http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm</u>
    <u>http://www.karakas-online.de/forum/viewtopic.php?t=730</u>
    Thanks
    Vasudha
    Message was edited by:
            Vasudha L

  • Selecting activities from afvc table by network number

    hi friends'
    i am trying to get a list of activities from afvc table but the network number is in a diferent table (afko)
    the joint field is "AUFPL"
    what is the easy way to get the list
    thanks
    best reguards

    Hi,
    Why is Order category required ?
    As you mentioned, your requirement is to get all the activities of a network.
    Then you may just enter the Order - AUFNR in AFKO table and get AUFPL. Pass this AUFPL to AFVC and get all the activities (VORNR)
    Let me know if this helped. or you have a different requirement.
    BR
    Anjali

  • Link of Preventive order Operation and package table

    Hi guys
    we are developing the form. there we are collecting the Operations, frequency, Remarks etc for preventive maintenance orders  (from Maint plans). We are taking the printout from IW3D.
    Now the thing is everything i have acheived except frequency. I have collected the operations from VIAUFK_AFVC, WARPL and call no (But no Package no here). Then if iam putting into MHIS table i could get the package no. Again if we are inputting the same into T351X we will get the short text of stratagy frequency.
    My doubt is the order has so many operations , how could we link the which operations and which package..any link table is there..

    Thenna,
    I am really sorry, i am just not able to comprehend what you are referring to. Could you be a little bit more clear? If you are looking to identify the Frequencies/packages  which have caused the operation to be added to the Order, the tables that i have listed out should help you to identify the same Programmatically.
    From the Order you can get the Group and task list number. From PLPO and PLWP , you could get a list of all the operation numbers and the packages at which they are due for the task list number. Using the keys from this table, you could identify the equivalent operation number in the Order(The operation number might not have changed between Task list and Order, if you havent re-numbered them).
    Regards
    Narasimhan

  • AFVC table note updated when Cost element is changed in PR

    For External activity PR is created and in PR cost element is changed. When I go back and check the activity in CN22 it reflects new cost element correctly. But when I check the AFVC table entries it still shows the old cost element.
    Did any one experienced same problem and I could not find any OSS note on this.

    i haven't come across this problem, however you can check which costelement updated in cooi table. i think
    it doesn't matter what costelement updated  in afvc table because system concerns more about cooi table for commitments
    and reporting.
    regards,

  • AFVC table

    in order to enter the table  in need
    aufpl  Routing number of operations in the orde.
    what is this and where do i get this.
    what is aplzl  general counter of order.
    where do i get the  data to fill in to these fields.

    i haven't come across this problem, however you can check which costelement updated in cooi table. i think
    it doesn't matter what costelement updated  in afvc table because system concerns more about cooi table for commitments
    and reporting.
    regards,

  • AFKO and AFVC link

    What is the link between AFKO (networks) and AFVC (network activities) tables?  Can not really find any common field that links them, or there is any third table to link them?
    Thank you!

    SAP Project System - A ready Reference ( Part 2 )
    check the above link

  • Sy-tabix in relation to LOOP AT and READ TABLE

    Hi All,
    As per SAP documentation,
    1) While looping through an internal table (LOOP AT), sy-tabix contains the index number of current row(for standard and sorted tables)
    2)When successfully reading from an internal table(READ TABLE), sy-tabix is set to the index of the result row.
    But what happens when READ TABLE is used while looping through another internal table?
    i.e. Loop at TAB1...
    write sy-tabix.
    READ TABLE TAB2...
    write sy-tabix.
    endloop.
    If we are looping through 1st row of TAB1 and the result of read statement is found in 3rd row of TAB2, I expected that sy-tabix before READ would be 1 and after the READ be 3.
    But, I found that sy-tabix remains unchanged at 1. Can someone expalin why?
    Thanks,
    Jagan

    Hi
    If after reading the table TAB2 the system variable SY-TABIX has still the previous value, that menas the READ TABLE fails or it was read the first record of TAB2.
    After READ TABLE TAB2 try to check the SY-SUBRC:
    LOOP AT TAB1.
       WRITE: / 'TAB1 index:', SY-TABIX.
       READ TABLE TAB2 .........
       IF SY-SUBRC = 0.
         WRITE: 'TAB2 index:', SY-TABIX.
    Try this:
    DATA: BEGIN OF ITAB OCCURS 0,
            FIELD1,
          END   OF ITAB.
    DATA: BEGIN OF ITAB2 OCCURS 0,
            FIELD1,
          END   OF ITAB2.
    DATA: INDEX TYPE I.
    DO 10 TIMES.
      APPEND ITAB.
    ENDDO.
    DO 10 TIMES.
      APPEND ITAB2.
    ENDDO.
    LOOP AT ITAB.
      WRITE: / 'ITAB:', SY-TABIX.
      INDEX = SY-TABIX + 2.
      READ TABLE ITAB2 INDEX INDEX.
      IF SY-SUBRC = 0.
        WRITE:  'ITAB2:', SY-TABIX.
      ENDIF.
    ENDLOOP.
    Max

  • In Answers am seeing "Folder is Empty" for Logical Fact and Dimension Table

    Hi All,
    Am working on OBIEE Answers, on of sudden when i clicked on Logical Fact table it showed me as "folder is empty". I restarted all the services and then tried still showing same for Logical Fact and Dimension tables but am able to see all my reports in Shared Folders. I restarted the machine too but no change. Please help me out to resolve this issue.
    Thanks in Advance.
    Regards,
    Rajkumar.

    First of all, follow the forum etiquette :
    http://forums.oracle.com/forums/ann.jspa?annID=939
    React or mark as anwser the post that the user gave.
    And for your question, you must check the log for a possible corrupt catalog :
    OracleBIData_Home\web\log\sawlog0.log

  • Best practice when FACT and DIMENSION table are the same

    Hi,
    In my physical model I have some tables that are both fact and dimension table, i.e. in the BMM they are of course separated into Fact and Dim source (2 different units) and it works fine. But I can see that there will be trouble when having more fact tables and I e.g. have a Period dimension pointing to all the different fact tables (different sources).
    Seems like the best solution to this is to have an alias of the fact/transaction table and have 2 "copies" of the transaction table (one for fact and one for dimension table) in the physical layer. Only bad thing is that there will then allways be 2 lookups in the same table when fetching data from the dimension and the fact table.
    This is not built on a datawarehouse - so the architecture is thereby more complex. Hope this was understandable (trying to make a short story of it).
    Any best practice on this? Or other suggestions.

    Id recommend creation of a view in the database. if its an oracle DB, materialised views would be a huge performance benefit. you just need to make sure that the MVs are updated when the source is updated.
    -Domnic

  • Difference between YVBUK and XVBUK tables

    Hello,
       Can somebody explain me the user of Y* and X* tables for application tables such as VBUK, LIKP etc. in user exits?
    According to note 415716 Y* tables store the condition of the record currently in the database and X* tables stores the changed value. But what happens if its a new record (UPDKZ = I), shouldnt Y* table be blank?
    We have the following code in the user exit
      INCLUDE YVUEPRZ1_DOC_SAVE_PREP_CARRIER                             *
    perform update only if insert or update carrier
    UPDKZ : Update indicator
    DATA : ls_vbpa LIKE xvbpa.
    LOOP AT xlikp.
      v_index = sy-tabix.
      CLEAR ls_vbpa.
      READ TABLE xvbpa INTO ls_vbpa
                       WITH KEY vbeln = xlikp-vbeln
                                parvw = 'SP'.
      CASE ls_vbpa-updkz.
        WHEN 'I' OR 'U'.
          MOVE-CORRESPONDING xlikp TO likp.
          MOVE-CORRESPONDING xlikp TO likpd.
    *--   Prepare changes of the delivery header
          PERFORM likp_bearbeiten_vorbereiten(sapfv50k).
          likp-yylfnr = ls_vbpa-lifnr.
    *--   Check and confirm changes
          PERFORM likp_bearbeiten(sapfv50k).
          MOVE-CORRESPONDING likp  TO xlikp.
          MOVE-CORRESPONDING likpd TO xlikp.
          MODIFY xlikp INDEX v_index.
          IF t180-trtyp = 'V'. "Modification
            xvbuk-uvk03  = 'D'.
            xvbuk-updkz  = 'U'.
            MODIFY xvbuk TRANSPORTING uvk03 updkz WHERE vbeln = xlikp-vbeln.
          ENDIF.
        WHEN 'D'.
          MOVE-CORRESPONDING xlikp TO likp.
          MOVE-CORRESPONDING xlikp TO likpd.
    *--   Prepare changes of the delivery header
          PERFORM likp_bearbeiten_vorbereiten(sapfv50k).
          CLEAR likp-yylfnr.
    *--   Check and confirm changes
          PERFORM likp_bearbeiten(sapfv50k).
          MOVE-CORRESPONDING likp  TO xlikp.
          MOVE-CORRESPONDING likpd TO xlikp.
          MODIFY xlikp INDEX v_index.
          IF t180-trtyp = 'V'. "Modification
            xvbuk-uvk03  = 'D'.
            xvbuk-updkz  = 'U'.
            MODIFY xvbuk TRANSPORTING uvk03 updkz WHERE vbeln = xlikp-vbeln.
          ENDIF.
      ENDCASE.
    ENDLOOP.
    Now the problem is that SAP is saying that the table YVBUK also has to have the same record as XVBUK but I think its absurd for UPDKZ = I since there will be no database image for that.
    thanks

    To answer Peluka's question there are no entries in Y* table when UPDKZ = I or UPDKZ = U
    and I dont quite understand what Ferry Lianto is saying but I think its pretty much the same as above
    thanks for your help

  • Difference between Temp table and Variable table and which one is better performance wise?

    Hello,
    Anyone could you explain What is difference between Temp Table (#, ##) and Variable table (DECLARE @V TABLE (EMP_ID INT)) ?
    Which one is recommended to use for better performance?
    also Is it possible to create CLUSTER and NONCLUSTER Index on Variable table?
    In my case: 1-2 days transactional data are more than 3-4 Millions. I tried using both # and table variable and found table variable is faster.
    Is that Table variable using Memory or Disk space?
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Check following link to see differences b/w TempTable & TableVariable: http://sqlwithmanoj.com/2010/05/15/temporary-tables-vs-table-variables/
    TempTables & TableVariables both use memory & tempDB in similar manner, check this blog post: http://sqlwithmanoj.com/2010/07/20/table-variables-are-not-stored-in-memory-but-in-tempdb/
    Performance wise if you are dealing with millions of records then TempTable is ideal, as you can create explicit indexes on top of them. But if there are less records then TableVariables are good suited.
    On Tables Variable explicit index are not allowed, if you define a PK column, then a Clustered Index will be created automatically.
    But it also depends upon specific scenarios you are dealing with , can you share it?
    ~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com
    MCCA 2011 | My FB Page

  • Performance syntax loop at  and read table

    in the routine , for reading one line in a internal table  , the syntaxe
      loop at  xxx where   and read tabl exxx   with key     XXXX
    has a great difference on performance or not?

    Loop at statement is used only for processing multiple records.Read table is used for reading a particluar record of an internal table.If you just need to check whether record exists in internal table, use can sort and use binary search with TRANSPORTING NO FIELDS addition. Also, try to use field symbols so that performance is increased.

  • No data in cube,but there is data in F and E table, also in dimension table

    Hi, gurus,
         I successfully loaded more than 100,000 records of data into an infocube, but when I check the content of the infocube(without any restriction),  unexpectedly no data displayed, also after I checked the F and E table, still no data, but there is data in dimendsion tables. what happened?
        please help. thanks a lot.

    Hi Kulun Rao,
    Try the following options.
    Check in the selection screen
    Go to infocube through LISTCUBE t.code
    Check the compression and roll-up statuses.
    Check the reporting status in request tab.
    Refresh the cube ( u already do it)
    Check the index status in Request tab**
    might be these things will help u.
    Regards,
    HARI GUPTA

  • Question regarding Classic and Advance table

    Hi,
    I have classic and advance table. I am populating with VO that brings 100 record. When i render page i see last record being displayed. How can i show my first record by defult on both tables?

    By default the first record will be displayed, if you are seeing the last one instead, you probably did a vo.last() in the code.
    Thanks
    Tapash

Maybe you are looking for