Deleted CVC's combination for product

Hi experts,
My User has deleted the CVC's combination for one product in APO. He is asking me load the deleted  data by tracing in ECC.How can we trace out the Product Hierarchy in ECC for the Product. Please help me.
Thanks,
Manasa

Hi Manasa,
Assuming that the user has deleted the CVCs only in the planning area, I have the following possible options:
1) Do you take backup of data from planning area? If yes, go to the backup cube, and you can find all the CVCs correspodning to the product. Create CVCs using the backup cube. Then load the data from the backup cube to the planning area (by using this material as selection criteria). Most likely you would be able to recover all the lost CVCs/Key Figures in this way (Depends on what kind of backup you take).
2) If you are not taking a backup (I would be very surprsied if this is the case), your task might not be easy. Talk to your BW team. They would be either sending the history data relevant for creation of CVC, or they might also be extracting data from DP planning area for reporting purpose. Either ways, it might be easy to identify the CVCs based on data available in BW system.
Next would come the issue of how to get the Key Figures data against the CVCs. It could be simple or complex depending on your design. I can't directly comment. May be you can get history data easily from BW, and then run the DP jobs in APO to do the relevant calculation, or otherwise wait for the already scheduled DP jobs to run and they would take care of DP related calculations. Be very careful about this part - you would need to understand your DP flow properly before taking any actions.
3) You could try to identify the missing CVCs in R/3 by understanding what all characteristics you use in DP, and how you derive them during creation of CVC.  Again you could try to identify how you would get the Key Figures against the CVCs from R/3 to APO. Again, my guess is that these calculations should mostly happen in BW, so above option no. 2 should hold good, but depends on your design. If you are not using BW to get data for DP, your situation could be very tricky.
PS: If backup is taken (option 1), that is the simplest and straight forward option for you, go for it. Otherwise, best of luck.
Thanks - Pawan

Similar Messages

  • Extracting Internal ID vs External ID for Products

    Hi,
    We want to upload Price List for Products on Cloud. We have integrated our Cloud with our onpremise CRM system and downloaded all the products from CRM to Cloud. But the Internal numbers assigned on Cloud for Products do not match to that in our on premise.
    As we understand, there is a template to upload Price List directly on Cloud. But Cloud expects Internal ID for these products. We have around 10,000 Products and it is not possible to do manually one by one.
    Like we have the feature for Accounts/contacts to export all of them into Excel, we are missing this for Products. Also, ID Mapping doesn't have any feature to export them to excel.
    Has anyone had a similar problem? What are the options we have to get the Internal ID vs External ID combination for Products?
    Thanks,
    Siva.

    Hi Siva
    Here is what you need to do:
    How to get the same material numbers between ERP and C4C
    You have to map the ERP MATNR to the ReceiverInternalID field in the C4C material service in addition to putting it into the SenderInternalID.
    You have to fill up leading zeros up to 40 characters if the material id is purely numeric. On PI you can do a Java extension for this. On HCI this is hopefully possible with the given string functions.
    -ginger

  • Looking for a program to delete CVCs from a flat file, infocube, ztable.

    I am looking for a program that will delete CVCs from a flat file, infocube, or ztable. Based on the research I have done, I would imagine the core of such a program would be the use of function module /sapapo/ts_plob_delete.
    If anyone has such a program and would be willing to share it that would be great.
    Shane

    Hi
    Yes you can use this program, but I think the program /sapapo/ts_plob_delete will only delete the data from Master planning Object structure( MPOS). First you have to deactivate the planning are first than use this program which will delete everything and again activate the planning area.
    If you want to delete the data flat files or infocube, you require to delete the data directly from the infocubes and add this job in the process chain to delete everything.
    I hope this information help you.
    Thanks
    Amol

  • Mass revoke deletion flag for Production order

    Hi all,
    As we know, we can use program PPARCHP1 to mass set deletion flag for production order.
    now, i would like to revoke deletion flag, i had been use tcode: co02  Functions -> Deletion Flag -> Revoke to do it.
    but, i have lots of production order, is there any standard program could mass revoke deletion flag?

    Dear there is no standard functionality or transaction is available to revoke the deletion flag the only option is you have to do it manually one by one order through the option which you already mentioned.
    Cheers
    KK

  • Deletion Flag setting Error message for production order

    "Unprocessed future change recs for orders prevent del. flag/completion"
    I tried to used COFC and CO1P but didn't work out?
    How to fix this issue i am trying to set deletion flags for certain production orders?
    If i even found errors in final confirmations how to fix them

    Hi Aparna,
    This is absolutely fine to set the deletion flag to archieve the Production Orders.
    For this error, which you are getting, there could be entries in COGI or CO1P..
    Whether you are using Process Control (check in OPK4)?
    If that is the case you should have got the entries in CO1P.
    Can you see any entries in COGI? even 102 movement against the order?
    Check once again and revert for further discussion..
    Regards,
    Siva

  • Leading zero for Product ID deleted when posting confirmation

    Dear All,
    I'm facing a problem when posting confirmation document from SRM to backend for PO item WITHOUT account assignment. When I want to post confirmation document, there is an error message 'Material document data and PO data do not match (Material )'. When I check the Idoc for confirmation, the leading zero in product ID was deleted in Idoc. For Example:
    The product ID is 000000001600000000 (18 character, as defined in Tcode COMCPRFORMAT) when confirmation document created, but the document can't be posted, I can only save the document. And when I check the Idoc, the product ID became 1600000000.
    I've already create a PO and confirmation for the same product using account assignment (Cost Center). And confirmation posted succesfully in backend. FYI, I've already implement note 1568941 in my SRM system.
    Does anyone here ever have the same problem?
    Rgds,
    Aleluya.

    problem solved after implement note 1592750
    Rgds,
    Aleluya sap.

  • Deletion-flag for product in GTS?

    Hi,
    I have a question regarding the deletion-flag of a material/product.
    1. I set the deletion flag of a material in ECC (mm06).
    2. The changes of the material are transferred to GTS with the use of a batch job.
    Question: Is there any way, in GTS, to see if a material has been marked for deletion? (without looking in /sapsll/pntpr)
    Regards,
    Marcus

    Hi Marcus
    Once you set the deletion flag in R/3 you can see the valid end date will become the current Date in GTS System , which you can view in Environment --> Change Documents.
    But I still wonder why the deletion flag is not active in GTS .

  • Delete CVC for Planning object structure relevant for DP BOM

    Hi,
    We have created a new client. The selection BOM char comb ID and BOM Prod Type (I/O) values are not availabe in program Delete CVC combination.
    Is some configuration is missing.
    Kindly advise to resolve this issue.
    thanks and regards
    Murugesan

    Hi Raj,
    Your question is as below:
    How the system knows or where i need to tell my demand from demand planning book X need to transfer
    SNP planning book - 9ASNP94
    In the release transaction i.e. /SAPAPO/MC90 , we need to give the target version .
    Each version is  assigned to exactly one Planning Area( though one PA may have more than one versions. Secondly at a time only one version will be active and in SNP / PPDS the Active version is always '000' which is connected to SAP ERP systems.
    Therefore when , we mention the version, system know the planning area.
    Hope this helps.
    Regards,
    Datta

  • SETTING DELETION FLAG FOR PRODUCT COST COLECTOR:

    Hi Gurus, could you please help me with this question:
    We need to turn off the repetitive mfg
    indicator active for a group of materials. this in order to replace product collectors to production
    orders.
    When I tryed to set the deletion flag for product cost colectors, SAP
    Shows this message :
    "THERE ARE STILL UNSETTLED VARIANCES FOR ORD 710040".
    Cheking Note "421710 - Check report whether "Deletion flag" status can
    be set" I found the program COPC_COSTOBJ_REORGCHECK , this program
    shows that I have Unsettled variances since 2004...
    The order have a settlement rule PER, So I can't settle 2004
    variances.. checking the note 421710, I Found that other way is to turn
    off the field indicator "variance to costing-base PA" in OK07.
    Must I turn off the field "variance to costing-base PA" temporaly, in order to close de cost colectors ?
    there are another program or report that I can use in order to settle the old variances?
    Message was edited by:
            Andres Moreno

    REWARDED POINTS AVAILABLE  !!!!!!

  • Set Mass Deletion Flag for production orders

    Hi,
    I am planning to set mass deletion flag for production orders using programme PPARCHP1.
    My users dont have access to SE38/SA38 and they cant run this program from directly.
    I dont wnat my users to do this preprocessig using SARA or CO78 as it will give access to them for whole archiving process + it only works in background.
    I am thinking to create a Z tocde for this program and use it in dialogue mode also. Do you guys see any aftereffects with this process?
    Let me know if creating a Z tocde sounds a good idea?
    Edited by: santosh sarda on Mar 10, 2011 3:23 AM
    Edited by: santosh sarda on Mar 10, 2011 3:28 AM

    The standard SAP procedure to set the archive is that
    - you run COAC in background to set deletion flag and deletion indicator.   It should be set as the variant and run periodically (i.e., monthly). 
    - The system get all orders with DLV status in the past xx days depending on your variant to set deletion flag. 
    - Also it will change the status DLFL to DLT based on your residence time 1. 
    - The orders with DLT that reside in system longer than residence time 2 then archive.
    This should be done by IT department or background jobs.  Not the users.
    Which, in my opinion, is enough.  However, if you do need the user to select by themselves which orders they want to set deletion flag (why is that?).  Then you may want to explore enhancement. 
    For the sake of simplicity, I will recommend to use user status (normal cohv can change that, as we know; therefore no new fancy screen needed).  Then develop the user exit to set deletion indicator in PPCO0002 - EXIT_SAPLCORE_001 based on user status.  The rest of the procedure should remain the same.
    If you want to allow user to do every steps and develop some Z* screen for users, they must have the authorization for archiving anyway.  They just don't have the t-code COAC, and SARA.  In my opionion, it is overkill.  Plus in terms of users, I don't think they have skills enough if there is some errors during archiving (i.e., logical file error, etc.).
    Hope it helps.

  • IPC Pricing routine for Product Family Margin in Quotation is not working

    Hi,
    I am working on the IPC Pricing Routine to calculate Item's Product Family Margin in the Quotation. 
    Process followed:
    Step 1:  Created a Group condition ZPFM for Product Family Margin and assigned to the pricing procedure. 
    Step 2:  Created a Value Routine to determine ZPFM's Condition Rate and Condition Value.
    Logic: 
              1.  Collect (Sum Of)  the Cost (ZSVC) and the Subtotal 3 of the items which are in same Material Group.
               2.  Assign the ZPFM Condition Value = Sum of Subtotal 3 - Cost.
    Issue:  The condition value for ZPFM is calculating correct for all line items except the last item.  I am getting some junk value always to the last item. If I delete the last time, again next last item is giving wrong value.  The calculation value in the routine debugging log (SM53) is showing correct value.  However, assigning the wrong value.  No other routines have been assigned to this condition type in the pricing procedure. 
    Routine Code:
    package stanley.pricing.userexits.val;
    import java.math.BigDecimal;
    import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
    import com.sap.spe.pricing.transactiondata.PricingTransactiondataConstants;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
    import com.sap.spe.base.logging.UserexitLogger;
    import com.sap.spe.pricing.transactiondata.userexit.ValueFormulaAdapter;
    //import com.sap.spe.pricing.transactiondata.userexit.IPricingCondition;
    public class Z_CondValueRoutine730 extends  ValueFormulaAdapter{
       private static UserexitLogger uelogger =
              new UserexitLogger(Z_CondValueRoutine730.class);
      public BigDecimal overwriteConditionValue(IPricingItemUserExit pricingItem,
             IPricingConditionUserExit pricingCondition) {
      // Variable Declarations.
      BigDecimal conditionValueZCVC=PricingTransactiondataConstants.ZERO;
      BigDecimal conditionValueZCVCAccrual=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3Accrual=PricingTransactiondataConstants.ZERO;
      if(pricingCondition.getConditionTypeName().equalsIgnoreCase("ZPFM")){
                IPricingItemUserExit[] prItems;
                prItems = pricingItem.getUserExitDocument().getUserExitItems();
                String materialGroup = pricingItem.getAttributeValue("MATL_GRP");
                uelogger.writeLogDebug("  Material Group  :"+materialGroup);
                for (int i=0;i<prItems.length;i++){
                     String materialGroup1 = prItems[i].getAttributeValue("MATL_GRP");
                     if (materialGroup1.equalsIgnoreCase(materialGroup)){
                          subTotal3 = prItems[i].getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_3).getValue();
                          subTotal3Accrual = subTotal3Accrual.add(subTotal3);
                          IPricingConditionUserExit[] conditionsForCumulation = prItems[i].getUserExitConditions();
                          for (int j = 0; j < conditionsForCumulation.length; j++) {
                               if(conditionsForCumulation[j].getConditionTypeName()==null) {
                                   continue;
                               else if ( conditionsForCumulation[j].getConditionTypeName().equalsIgnoreCase("ZCVC")){
                                    conditionValueZCVC = conditionsForCumulation[j].getConditionValue().getValue();
                                    conditionValueZCVCAccrual = conditionValueZCVCAccrual.add(conditionValueZCVC);
                BigDecimal conditionValueZPFM=PricingTransactiondataConstants.ZERO;
                conditionValueZPFM = subTotal3Accrual.subtract(conditionValueZCVCAccrual);
               BigDecimal conditionRateZPFM=PricingTransactiondataConstants.ZERO;
               conditionRateZPFM = conditionValueZPFM.multiply(new BigDecimal ("100"));
              conditionRateZPFM = conditionRateZPFM.divide(subTotal3Accrual,7,BigDecimal.ROUND_FLOOR);
             uelogger.writeLogDebug(subTotal3Accrual+"-"+conditionValueZCVCAccrual+" = "+conditionValueZPFM);
             uelogger.writeLogDebug("Condition Rate  :"+conditionRateZPFM);
           pricingCondition.setConditionRateValue(conditionRateZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
           pricingCondition.setConditionValue(conditionValueZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
              return null;
           return null;

    Hi,
    I think you should change xkwert variable instead of komv-kwert.
    Standard routines does the same.
    Aslo check in SPRO settings that routine is attached and
    getting triggered by putting break-point.
    Regards,
    Vishal

  • Config for Production client

    Dear all,
    I'm a new basis and now I'm working in big project ERP. I have a disturbed about config for Production client.
    In scc4 we must set client role is Production and No change allowed for Objects. But in production some time we need do Open and Close Period, or change following business requirement, ... This is not allowed to do in Production client.
    How do we config for Production client to cover this requirements ?
    Do we need a config client for maintain Production client ? Example: Production client is 500, Config client is 100. When we need Open or Close Period or change anything, we do in 100 and transfer request to 500.
    Thank you very much.
    Regards,
    Thanh.
    Do not use text message language, the next time your thread will be deleted.
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Dec 1, 2010 11:06 AM

    You can customize transaction to be executable although the setting in SCC4 is "productive", this is accomplished by using transaction SOBJ:
    Note 1497640 - Open and close periods in productive client
    You can theoretically put every customizing view there and make it "executable" in a production system.
    Markus

  • How to delete the queries in  BW Production which are no longer existing.

    Hi,
    How to  delete the queries in BW production which are no longer existing in DEV.
    1. I tried Using RSZDELETE in Production it is not getting deleted and the below message given.
    Query object 4A7V83T3RB4ABIOKSDJT2HWDL is blocked. Deletion has been cancelled.
    2. I tried creating another query in dev with the same technical name and send a transport with deletion
    it is not working.
    Please advise me on this for any function module or any other method.
    Thanks
    Surya

    Hi,
    If you transported the query from DEV and now you want to delete it, you should open a BEx request (Dev Class under which it was originally transported -- or-- Standard - type) in DEV delete the query and move the transport to Production.
    As far as your error is concerned, usually  when you  can delete a query using the delete option in query designer itself,
    Business Explorer> query-> delete objects , when you press execute the system offers you a list of dependent objects on the query(workbook,views), in case the sysytem is unable to delete them i.e.they being used as a input query for a characteristic variable (replacement path),then system throws this error.You can delete these all depndents under there prescribed roles , fav s & then proceed.
    Hope this will be expedite.
    Thax & regards.
    Vaibhave Sharma

  • How to set Blocking Indicator for product specific TransportationLanes?

    Hi All,
    I'm facing a problem while trying to set the blocking indicator for product specific Transportation Lanes-external procurement.
    How can i proceed on the same?
    I've figured out 2 methods for blocking the product specific TLanes.
    1. using /SAPAPO/TR_TL_TRANSFER_BAPI.
    2. using BAPI_TRLSRVAPS_SAVEMULTI.
    I tried using the BAPI - /SAPAPO/TR_TL_TRANSFER_BAPI, which comes inside the DELETE BAPI - BAPI_TRLSRVAPS_DELMULTI. Although I had passed the parameters reg. external procurement, nothing seemed to be happening in the system. There was no blocking indicator - D(locked and flagged for deletion) set against the subjected TLane. In fact, to my amazement, the BAPI didn't return even a single msg. BAPIRETURN internal table after execution was empty.
    Here, I'm passing:
    (IV_LOGQS) TYPE  /SAPAPO/LOGQS
    (IV_LOGSYS) TYPE  LOGSYS
    (IV_CALLER) TYPE  /SAPAPO/MD_CALLER
    (IT_TR) TYPE  /SAPAPO/TR_TTD_TR
    (IT_TR_X) TYPE  /SAPAPO/TR_TTX_TR
    (IT_TRPROD_SRC) TYPE  /SAPAPO/TR_TTD_TRPROD_SRC    and
    (IT_TRPROD_SRC_X) TYPE  /SAPAPO/TR_TTX_TRPROD_SRC
    I haven't tried on the second method yet. Is there any other programming alternative for setting the blocking indicator of a TLane / multiple Tlanes?
    Could anyone pls explain and guide me on a suitable method to be chosen and the process to be followed, parameters to be passed, etc.

    Hi Sanjay,
                    Use the standard BAPI:  BAPI_TRLSRVAPS_SAVEMULTI2 (according to SCM version you are using)
    to update the deletion flag for product specific T-lane, in this BAPI you have to pass the data to EXTERNAL_PROCUREMENT parameter table in which LOCKED_FLG field is there in which you can pass the "D" for deletion or block flag.
    Also you have to pass the same entries in EXTERNAL_PROCUREMENT_X parameter table of this BAPI.
    If any further help required, refer the documentation of BAPI or let me know.
    I hope this will help you to solve the issue.
    Regards,
    Saurabh

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

Maybe you are looking for

  • Manual For Indigo iBook

    Does anyone know how I might obtain a manual (online or physical) for an Indigo 366/iBook? The only original iBook manual I can find here is the one for the original blueberry and tangerine iBooks.

  • Creating worker threads in J2EE application deployed in OAS...

    Will OAS allow for the creation of worker threads in a J2EE application? I can create a worker thread in my J2EE application that is deployed in OC4J Standalone, I need to verify if the same capabilities exist in OAS. Thank you, Jason

  • In T-Code J2IUN SECess on ser tax account is not appearing

    Dear All, SAP version is 4.7. For monthly utilization (T-Code: J2IUN), the option " Cross utilization between service tax and cenvat" need to be used. Presently G/L account options appearing are as below,      Service tax credit account      ECESS on

  • Info Record Upload

    Hi, We are going for Go Live later this month.I want to have a suggestion regarding the upload of info records.Since client is moving from existing system to SAP for the first time, do we need to have the info recs also created/uploaded first. I mean

  • Import video from an idvd project DVD.

    Is there a way to import video from a finished iDVD project on DVD back onto my G4? It was originally created in iMovie and I want to get it eventually into my iPhone. The DVD is the only copy, it wasn't backed up on mini DV.