Compare PDS with Production Version
Application component: Production Data Structure
App type: SAP GUI
Description:  You use this function to compare SAP S/4HANA master data with the PP/DS production data structure (PDS) that is generated from it in PP/DS. This means that you can check whether SAP S/4HANA master data has been correctly transferred to PP/DS.  You use this report (/SAPAPO/CURTO_ORDER_EXPLODE) to carry out a simple or more detailed comparison and to retransfer master data: Comparison of the change date With this simple comparison, you can check whether SAP S/4HANA master data or changes to it have already been transferred to PP/DS, on the basis of the date of the last change to the BOM, routing, master recipe and production version. The comparison only takes into account the date on which this SAP S/4HANA master data was last changed. The date of the last change in SAP S/4HANAis compared with the time at which the PP/DS production data structure was generated in PP/DS. Comparison of the explosion results You can use this comparison to carry out a more detailed check of the master data on the basis of the explosions results. It is not necessary to have carried out the first comparison in order to carry out this comparison. In the comparison, the explosion result of SAP S/4HANA manufacturing order (production and process order) is simulated and compared with the simulated explosion result of the PDS in PP/DS. Only the operations, phases, input and output products, and activity relationships of the manufacturing orders are compared. Retransfer of the master data You can carry out an automatic retransfer of the PDS from SAP S/4HANAto PP/DS for deviating master data in the background. 
Key features:  The report comprises the following functions: Comparison of the change date Compare Last S/4HANAChange Date with PP/DS PDS Generation Date  Comparison of the explosion results Compare Explosion Result in S/4HANAand PP/DS  Retransfer of the master data Automatic retransfer of the PP/DS production data structure in the background The report can be carried out in the dialog or in the background. To avoid a long runtime, you must enter an S/4HANA partner system, product and location.   Comparison of the Change Date If you choose Compare Last S/4HANAChange Date with PP/DS PDS Generation Date , the system carries out a simple comparison that is exact to the day.  This means that it compares the date on which the PDS was generated (the generation date) with the date of the last change to the routing, BOM, production version and master recipe (the change date in SAP S4/HANA) in the UTC time zone.      If the date of the last master data change in SAP S/4HANAis greater than the PDS generation date in PP/DS the system regards this as a deviation or data inconsistency. If the S/4HANA change date and the PP/DS generation date are identical, no comparison is carried out. In contrast, the system always checks the explosion results, regardless of the date of the last master data change. The time is not compared, due to the possible delay between the systems. Because only the date of the S/4HANA change pointer in the table CIF_PPM_CHANGED is compared with the generation date of the PDS, the performance of this comparison is better than that of the detailed comparison.   Result The report informs you of the number of selected products and the number of products for which deviating master data has been found. The following results are possible: Deviating master data found These products are displayed in the results list with the status  ( Variance found ).  You can choose:  Transfer again  The PDS is retransferred.  New comparison  The new comparison can be carried out after the function Transfer again.   Display log  The log can be displayed for both successful and failed new transfers of the PDS In the log, the incorrect products that have not yet been transferred are displayed first, then the incorrect products that have been transferred and finally the correct products that have been transferred. No deviating master data found If there is no data to be compared, for example because products are contained in the active integration model or the production version is missing, you go directly to the application log. When you leave the application log, a dialog box is displayed, asking if you want to save the application log.   Transfer again If you select products with variances and choose  Transfer again, the PDS is transferred again (and synchronously) in the same way as the S/4HANA function Transfer PP/DS Production Data Structure .  During the retransfer, the system checks whether master data, such as work center or component, are contained in an active integration model, that is, whether they are relevant for PP/DS The existing PDS is overwritten. Correctly transferred products have the status  .  The report changes the PDS generation date to the current date and displays the number of correct retransfers. You can call the log in order to view correctly transferred products. Incorrectly transferred products have the status  .  You can call a log for incorrectly transferred products. In the  Log, you see detailed information on products with deviating master data.  For example, if a work center has been changed in a BOM and the new work center is not contained in an active integration model, you see a message telling you that no resource is available. You must transfer the work center to PP/DS before you carry out the comparison again. These messages are also saved in the application log ( PP/DS Administration → Integration → Monitor → Application Log ).  The user can select relevant messages via the object CIF, subobject IPRT See Application Log       If you carry out the Transfer again function more than once, only the products with the status  ( Variance found ) are taken into account.  Products for which the new transfer has failed are always added to the log, this means that the logs of previous new transfers are not overwritten.   New comparison If you choose  New comparison, after the new transfer, the products are selected and compared according to the selection criteria:  Products with the status  are no longer displayed.  Products with the status  are displayed with the status  , if the error has not been removed.    Comparison of the Explosion Results If you choose Compare Explosion Result in S/4HANA and PP/DS , the validity of the PDS is checked on the basis of the explosion date and the order quantity.  In other words, the simulated explosion result of the S/4HANA manufacturing order is compared with the simulated explosion result of the PDS. For the comparison, temporary production or process orders are generated in SAP S/4HANA from the selection data in PP/DS.       SAP S/4HANA When a manufacturing order is created or changed in SAP S/4HANAthe BOM and routing are exploded for the selected date. (The explosion date is the date on which the BOM and routing are determined.) The explosion date must lie within the validity of the production version. PP/DS for S/4HANA The explosion date of the PDS for a receipt element for in-house production (planned or manufacturing order), corresponds to the order start date. The explosion date can, for example, be the start date of the first activity.   Selection You must also enter the following criteria, which are necessary for the explosion of the S/4HANA manufacturing order: Interval  Order quantity  Explosion date       During the comparison of the explosion result in S/4HANA and PP/DS, performance problems may occur if you try to compare a large number of explosion results. For example, if you enter a large date range and also specify an interval of one day. If necessary, you can Specify tolerances in percent for the operation duration and for components  Select an automatic retransfer for background processing    Result The system displays a list of master data in which deviations were found. The list displays the product, location, production version, status and explosion date. Master data with deviations is displayed in the results list with the status  ( Variance found ).  You can choose:   Transfer again  The PDS is retransferred. See Transfer Again   New comparison  It makes sense to carry out a new comparison after the function Transfer again .   Display log  The log can be displayed for both successful and failed new transfers of the PDS For example, the system displays a message if no comparison has taken place for a product because there is no production version for the explosion date, or no valid production version in SAP S/4HANA. See Transfer Again   Display comparison  If you select deviating master data and choose  Display comparison you see a detailed overview of the deviating data.  The PP/DS and S/4HANA explosion results, including the operations, phases, input and output products, and relationships are displayed in a tree. The status  indicates where the comparison function found deviating data. In this way you can see, for example, whether operations have been deleted in SAP S/4HANA and are therefore missing in PP/DS, or if the duration of an activity in PP/DS exceeds the calculated permitted tolerance.  Choose  or  , to display the details of more comparisons.    Execute Comparison in the Background You can define for the background processing of both comparisons that production data structures should be transferred again, if deviating data is found during the comparison. You can choose: Automatic retransfer If you select Automatic Retransfer of the Deviating PP/DS PDS , the production data structures are automatically transferred to PP/DS in the background.  The following messages about the PDS comparison are displayed In the application log: Messages about successful and failed new transfers, and success messages.  Do not retransfer If you do not use automatic retransfer, no retransfer takes place. The deviating production data structures with their product, location and production version are recorded in the application log.   Display messages about the comparison Choose PP/DS Administration → Integration → Monitor → Application Log  You can select messages about the PP/DS PDS Comparison via o bjectCIF, subobjectIPRT, transaction /SAPAPO/RTO_ORD_COMP and your user name.  In addition, you see a message in the  Job Log of the background job telling you to check the application log. ( Tools → CCMS → Jobs )  By double clicking on the message you see the long text and can go to the application log.