Upload Summary Production History data

Hi All,
I want to upload data for summary production history data, scenario is that there is no transaction to upload the data and there is a table called s225 that contains the data related to summary production history data. I can not use any BDC or LSMW. Does any one of you know about any BAPI through which I can upload the data into table s225 or I will have to directly insert the records from data file using a report into table s225. What should be the right approach when there is no transaction defined to upload data and no BAPI is also given.
Thanks
Mahen

Hi Mahender,
1. Are u sure only one table S225 is involved for this ?
2. If so, then u can directly upload
   into this table using
   GUI_UPLOAD (upload data into ITAB, same structure as S225)
   MODIFY (sql)
      ie. Modify S225 from itab
          (in one shot)
3. However, it is not recommended
   to tamper data of standard tables directly.
  sap may stop support due to this !
regards,
amit m.
Message was edited by: Amit Mittal

Similar Messages

  • Clear the History Data Automatically in Production Planning Table MF50

    Dear Friends,
    I have the problem to set the Production Planning Table (Txn MF50) to
    clear the history data automatically. Currently, all the history data
    in the planning table has to be cleared manually.
    Appreciate your help.
    Rgds
    Zahari Yusof

    instead of just removing the whole history like private browsing do, i just want to remove browsing/download history and form&search. i didn't want to remove cookies and active logins, heheh. thank you

  • Lsmw Uploading cost center master data fields ERFNM,ERFDT at History tab

    Hi Gurus,
    I done uploading of cost center master data through LSMW.everything is fine but I have one issue.
    I done Uploading from 4.6 now in 4.6 the cost center was created by some one else when I am doing in ECC 6.0 system automatically taking my name as default it means I can not enter in ECC 6.o that who originally created  it  and what was that date. Is there any way to solve it or system will take only mine name in Fields( ERFNM,ERFDT )at cost center History Data while creating Master data.
    Many Many Thanks

    Yes, system will take the creator name from the person who actually creates the cost center in SAP.
    It will be filled automatically and you can not change the creator name.
    This is to ensure better audit trail and tracability.
    Regards,
    Gaurav

  • Upload Product Proposal data

    Hi All,
    I would like to know if there is way to load all the Product Prosal data into my CRM system from a text File.
    regards
    Sameer Ahamad

    Resolved

  • Avoid Duplication of History Data's

    Hi all,
    I have written the following package,
    CREATE OR REPLACE PACKAGE BODY SUMMARY.INSERT_PILLAR3_PCK
    AS
         P_JOB_INFO_ID NUMBER;
         P_SUBMITED_BY VARCHAR2(100);
    Description: Package SUMMARY.PKG_INSERT_PILLAR3 used to Populate Data to PILLAR3 Table
    Version: V1.0
    MODIFICATION HISTORY
    Person Date Comments
    Kumaran Systems 21-Mar-2009 Initial Version
    PROCEDURE LOAD_PILLAR3_ADMIN_PRC
    AS     
    -- Description: This procedure is used to Populate the Value to Pillar3 Table by ADMIN.
    BEGIN
         SELECT WEB_JOB_INFO_ID, SUBMITED_BY
         INTO P_JOB_INFO_ID, P_SUBMITED_BY
         FROM CONTROL.WEB_JOB_INFO
         WHERE JOB_NAME = 'PILLAR3 DATA PROCESS'
         AND STATUS_CODE = 'RUNN' AND END_DT IS NULL;          
         CONTROL.PKG_ERRORLOG_DETAILS.JOB_LOGS_PRC(P_JOB_INFO_ID,
    1,
    SYSTIMESTAMP
    || 'LOAD_PILLAR3_ADMIN STARTED'
         /* Deleting the Current Month Data from PILLAR3 table */
         DELETE FROM SUMMARY.PILLAR3
         WHERE SNAP_SHOT_DATE = (SELECT MAX(MONTH_END_DT) FROM CONTROL.CTL_BATCH_CONTROL);
         COMMIT;
         /* Inserting the values into the PILLAR3 table */
         INSERT INTO /*+ APPEND */ SUMMARY.PILLAR3
         (SELECT VBCAR.MONTH_END_DATE,
              VBCAR.SOURCE_SYSTEM,
              RF1.PILLAR3_EXPOSURE_CLASS_CODE,
              VBCAR.EXPOSURE_CODE,
              VBCAR.EXPOSURE_CLASS_CODE,
              CASE
                   WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
                   WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
                   WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
                   WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
                   WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
                        VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
                   WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
                        VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
                   ELSE VBCAR.CCIS_PRODUCT_GROUP
              END AS LINE_OF_BUSINESS,
              VBCAR.CCIS_PRODUCT,
              VBCAR.PD_VALUE,
              VBCAR.LGD_RATE,
              RF2.PD_BAND,
              RF2.PD_BAND_DESCRIPTION,
              RF3.RESIDUAL_MATURITY_TERM,
              SUM(VBCAR.PRE_SEC_EAD_AMT) AS EAD_PRE_SEC_PRE_CRM,
              SUM(VBCAR.POST_SEC_EAD_AMT) AS EAD_POST_SEC_PRE_CRM,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.EXPOSURE_CODE = 'DRAWN'
                        AND (VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') OR VBCAR.ACC_SECURITIZED_IND = 'E') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EAD_AMT
                   ELSE VBCAR.POST_SEC_EAD_AMT
                   END) AS EAD_POST_SEC_POST_CRM,
              CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
                        VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                        AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                        AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
                   ELSE 'NOT INSURED'
              END AS INSURED_IND,
              CASE
                   WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
                   WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
                        AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
                        THEN 'PARTIALLY SECURITIZED'
                   ELSE 'NOT SECURITIZED'
              END AS SECURITIZED_IND,
              VBCAR.NOTIONAL_PRINCIPAL_AMT,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_RWA_AMT
                   ELSE VBCAR.POST_SEC_RWA_AMT
                   END) AS RWA,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EL_AMT
                   ELSE VBCAR.POST_SEC_EL_AMT
              END) AS EL,
              VBCAR.POST_SEC_RWA_AMT * .08 AS CAPITAL,
              RF4.GEO_SECTION,
              COUNT(1),
              VBCAR.PD_MODEL_ID,
              SYSDATE,
              SYSDATE,
              'PILLAR3'
              FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBCAR,                               
                   RCDWSTG.STG_FIN_ACC STFC,          
                   RCDWSTG.STG_FIN_ACC_PARTY_SRC SRC,               
                   RCDWSTG.STG_PARTY_SRC PRTY,
                   (SELECT MAX(PARTY_SRC_RK) AS PARTY_SRC_RK, ACC_RK               
                        FROM RCDWSTG.STG_FIN_ACC_PARTY_SRC                         
                        GROUP BY ACC_RK) MXP,
                   REFERENCE.REF_P3_BCAR_EXPOSURE_CLASS_CD RF1,
                   REFERENCE.REF_PD_BAND RF2,
                   REFERENCE.REF_MATURITY_TERM RF3,
                   REFERENCE.REF_GEO_SECTION RF4                                             
              WHERE VBCAR.ACC_RK = STFC.ACC_RK               
                   AND VBCAR.SOURCE_SYSTEM = STFC.SOURCE_SYSTEM                              
                   AND MXP.ACC_RK = STFC.ACC_RK
                   AND SRC.ACC_RK = STFC.ACC_RK
                   AND VBCAR.EXPOSURE_CLASS_CODE = RF1.BCAR_EXPOSURE_CLASS_CODE
                   AND VBCAR.PD_BAND = RF2.PD_BAND
                   AND PRTY.COUNTRY_CD = RF4.COUNTRY_CODE
                   AND STFC.SOURCE_SYSTEM = SRC.SOURCE_SYSTEM               
                   AND STFC.SOURCE_SYSTEM = PRTY.SOURCE_SYSTEM
                   AND SRC.PARTY_SRC_RK = PRTY.PARTY_SRC_RK               
                   AND SRC.SOURCE_SYSTEM = PRTY.SOURCE_SYSTEM
                   AND MXP.PARTY_SRC_RK = SRC.PARTY_SRC_RK
                   AND SRC.PARTY_ROLE_CD = 'BOR'
              GROUP BY VBCAR.MONTH_END_DATE,
                   VBCAR.SOURCE_SYSTEM,
                   RF1.PILLAR3_EXPOSURE_CLASS_CODE,
                   VBCAR.EXPOSURE_CODE,
                   VBCAR.EXPOSURE_CLASS_CODE,
                   CASE
                        WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
                        WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
                        WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
                        WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
                        WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
                             VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
                        WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
                             VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
                        ELSE VBCAR.CCIS_PRODUCT_GROUP
                   END,
                   VBCAR.CCIS_PRODUCT,
                   VBCAR.PD_VALUE,
                   VBCAR.LGD_RATE,
                   RF2.PD_BAND,
                   RF2.PD_BAND_DESCRIPTION,
                   RF3.RESIDUAL_MATURITY_TERM,
                   CASE
                        WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
                             VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
                        WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                             AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
                        WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                             AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
                        ELSE 'NOT INSURED'
                   END,
                   CASE
                        WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
                        WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
                             AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
                        THEN 'PARTIALLY SECURITIZED'
                        ELSE 'NOT SECURITIZED'
                   END,
                   VBCAR.NOTIONAL_PRINCIPAL_AMT,
                   (VBCAR.POST_SEC_RWA_AMT * .08),
                   RF4.GEO_SECTION,               
                   VBCAR.PD_MODEL_ID               
         COMMIT;
         CONTROL.PKG_ERRORLOG_DETAILS.JOB_LOGS_PRC(P_JOB_INFO_ID,
    1,
    SYSTIMESTAMP
    || 'LOAD_PILLAR3_ADMIN COMPLETED'
    EXCEPTION
         WHEN OTHERS THEN
              CONTROL.PKG_ERRORLOG_DETAILS.JOB_ERRORS_PRC
                   (P_JOB_INFO_ID,
              1,
              NULL,
              'LOAD_PILLAR3_ADMIN',
              SQLCODE || SQLERRM,
              NULL
    CONTROL.PKG_ERRORLOG_DETAILS.UPDATE_JOB_INFO_PRC(P_JOB_INFO_ID, 'FWRR');
    END LOAD_PILLAR3_ADMIN_PRC;
    end;
    When i execute this package first time
    The History + Current Month data inserting into a table
    When i execute second time History + History + current month data's inserting into the table.
    But i dont want the duplication of history data in the table,
    Can anyone suggest me how to do this.
    Thanks
    Radha K

    I have written the following merge stmt
    MERGE INTO PILLAR3
    USING
         (SELECT VBCAR.MONTH_END_DATE,
              VBCAR.SOURCE_SYSTEM,
              RF1.PILLAR3_EXPOSURE_CLASS_CODE,
              VBCAR.EXPOSURE_CODE,
              VBCAR.EXPOSURE_CLASS_CODE,
              CASE
                   WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
                   WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
                   WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
                   WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
                   WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
                        VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
                   WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
                        VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
                   ELSE VBCAR.CCIS_PRODUCT_GROUP
              END AS LINE_OF_BUSINESS,
              VBCAR.CCIS_PRODUCT,
              VBCAR.PD_VALUE,
              VBCAR.LGD_RATE,
              RF2.PD_BAND,
              RF2.PD_BAND_DESCRIPTION,
              RF3.RESIDUAL_MATURITY_TERM,
              SUM(VBCAR.PRE_SEC_EAD_AMT) AS EAD_PRE_SEC_PRE_CRM,
              SUM(VBCAR.POST_SEC_EAD_AMT) AS EAD_POST_SEC_PRE_CRM,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.EXPOSURE_CODE = 'DRAWN'
                        AND (VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') OR VBCAR.ACC_SECURITIZED_IND = 'E') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EAD_AMT
                   ELSE VBCAR.POST_SEC_EAD_AMT
                   END) AS EAD_POST_SEC_POST_CRM,
              CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
                        VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                        AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                        AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
                   ELSE 'NOT INSURED'
              END AS INSURED_IND,
              CASE
                   WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
                   WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
                        AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
                        THEN 'PARTIALLY SECURITIZED'
                   ELSE 'NOT SECURITIZED'
              END AS SECURITIZED_IND,
              VBCAR.NOTIONAL_PRINCIPAL_AMT,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_RWA_AMT
                   ELSE VBCAR.POST_SEC_RWA_AMT
                   END) AS RWA,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EL_AMT
                   ELSE VBCAR.POST_SEC_EL_AMT
              END) AS EL,
              VBCAR.POST_SEC_RWA_AMT * .08 AS CAPITAL,
              RF4.GEO_SECTION,
              COUNT(1),
              VBCAR.PD_MODEL_ID,
              SYSDATE,
              SYSDATE,
              'PILLAR3'
              FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBCAR,                               
                   RCDWSTG.STG_FIN_ACC STFC,          
                   RCDWSTG.STG_FIN_ACC_PARTY_SRC SRC,               
                   RCDWSTG.STG_PARTY_SRC PRTY,
                   (SELECT MAX(PARTY_SRC_RK) AS PARTY_SRC_RK, ACC_RK               
                        FROM RCDWSTG.STG_FIN_ACC_PARTY_SRC                         
                        GROUP BY ACC_RK) MXP,
                   REFERENCE.REF_P3_BCAR_EXPOSURE_CLASS_CD RF1,
                   REFERENCE.REF_PD_BAND RF2,
                   REFERENCE.REF_MATURITY_TERM RF3,
                   REFERENCE.REF_GEO_SECTION RF4                                             
              WHERE VBCAR.ACC_RK = STFC.ACC_RK               
                   AND VBCAR.SOURCE_SYSTEM = STFC.SOURCE_SYSTEM                              
                   AND MXP.ACC_RK = STFC.ACC_RK
                   AND SRC.ACC_RK = STFC.ACC_RK
                   AND VBCAR.EXPOSURE_CLASS_CODE = RF1.BCAR_EXPOSURE_CLASS_CODE
                   AND VBCAR.PD_BAND = RF2.PD_BAND
                   AND PRTY.COUNTRY_CD = RF4.COUNTRY_CODE
                   AND STFC.SOURCE_SYSTEM = SRC.SOURCE_SYSTEM               
                   AND STFC.SOURCE_SYSTEM = PRTY.SOURCE_SYSTEM
                   AND SRC.PARTY_SRC_RK = PRTY.PARTY_SRC_RK               
                   AND SRC.SOURCE_SYSTEM = PRTY.SOURCE_SYSTEM
                   AND MXP.PARTY_SRC_RK = SRC.PARTY_SRC_RK
                   AND SRC.PARTY_ROLE_CD = 'BOR'
              GROUP BY VBCAR.MONTH_END_DATE,
                   VBCAR.SOURCE_SYSTEM,
                   RF1.PILLAR3_EXPOSURE_CLASS_CODE,
                   VBCAR.EXPOSURE_CODE,
                   VBCAR.EXPOSURE_CLASS_CODE,
                   CASE
                        WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
                        WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
                        WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
                        WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
                        WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
                             VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
                        WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
                             VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
                        ELSE VBCAR.CCIS_PRODUCT_GROUP
                   END,
                   VBCAR.CCIS_PRODUCT,
                   VBCAR.PD_VALUE,
                   VBCAR.LGD_RATE,
                   RF2.PD_BAND,
                   RF2.PD_BAND_DESCRIPTION,
                   RF3.RESIDUAL_MATURITY_TERM,
                   CASE
                        WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
                             VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
                        WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                             AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
                        WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                             AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
                        ELSE 'NOT INSURED'
                   END,
                   CASE
                        WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
                        WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
                             AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
                        THEN 'PARTIALLY SECURITIZED'
                        ELSE 'NOT SECURITIZED'
                   END,
                   VBCAR.NOTIONAL_PRINCIPAL_AMT,
                   (VBCAR.POST_SEC_RWA_AMT * .08),
                   RF4.GEO_SECTION,               
                   VBCAR.PD_MODEL_ID) TMP_PILLAR3
    ON (a.MONTH_END_DATE = b.MONTH_END_DATE)
    WHEN matched THEN
         UPDATE SET a.update_time = SYSDATE + 2
    WHEN NOT MATCHED THEN
         INSERT INTO PILLAR3(SNAP_SHOT_DATE,     
    SOURCE_SYSTEM,     
    PILLAR3_EXPOSURE_CLASS_CODE     ,
    EXPOSURE_TYPE     ,
    BCAR_EXPOSURE_CLASS_CODE     ,
    LINE_OF_BUSINESS     ,
    CCIS_PRODUCT     ,
    PD_VALUE     ,
    LGD_RATE     ,
    PILLAR3_PD_BAND,
    PD_BAND_DESCRIPTION,
    RESIDUAL_MATURITY_TERM,
    EAD_PRE_SEC_PRE_CRM,
    EAD_POST_SEC_PRE_CRM,
    EAD_POST_SEC_POST_CRM,
    INSURED_IND,
    SECURITIZED_IND,
    NOTIONAL_PRINCIPLE,
    RWA,
    EL,
    CAPITAL,     
    GEO_SECTION     ,
    COUNT_OF_ACCOUNTS,
    PD_ASSESSMENT_RATING_GRADE,
    LOAD_DATE,
    UPDATE_DATE     ,
    UPDATE_USERID
         VALUES
         (VBCAR.MONTH_END_DATE,
              VBCAR.SOURCE_SYSTEM,
              RF1.PILLAR3_EXPOSURE_CLASS_CODE,
              VBCAR.EXPOSURE_CODE,
              VBCAR.EXPOSURE_CLASS_CODE,
              CASE
                   WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
                   WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
                   WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
                   WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
                   WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
                        VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
                   WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
                        VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
                   ELSE VBCAR.CCIS_PRODUCT_GROUP
              END AS LINE_OF_BUSINESS,
              VBCAR.CCIS_PRODUCT,
              VBCAR.PD_VALUE,
              VBCAR.LGD_RATE,
              RF2.PD_BAND,
              RF2.PD_BAND_DESCRIPTION,
              RF3.RESIDUAL_MATURITY_TERM,
              SUM(VBCAR.PRE_SEC_EAD_AMT) AS EAD_PRE_SEC_PRE_CRM,
              SUM(VBCAR.POST_SEC_EAD_AMT) AS EAD_POST_SEC_PRE_CRM,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.EXPOSURE_CODE = 'DRAWN'
                        AND (VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') OR VBCAR.ACC_SECURITIZED_IND = 'E') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EAD_AMT
                   ELSE VBCAR.POST_SEC_EAD_AMT
                   END) AS EAD_POST_SEC_POST_CRM,
              CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
                        VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                        AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                        AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
                   ELSE 'NOT INSURED'
              END AS INSURED_IND,
              CASE
                   WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
                   WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
                        AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
                        THEN 'PARTIALLY SECURITIZED'
                   ELSE 'NOT SECURITIZED'
              END AS SECURITIZED_IND,
              VBCAR.NOTIONAL_PRINCIPAL_AMT,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_RWA_AMT
                   ELSE VBCAR.POST_SEC_RWA_AMT
                   END) AS RWA,
              SUM(CASE
                   WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
                   WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EL_AMT
                   ELSE VBCAR.POST_SEC_EL_AMT
              END) AS EL,
              VBCAR.POST_SEC_RWA_AMT * .08 AS CAPITAL,
              RF4.GEO_SECTION,
              COUNT(1),
              VBCAR.PD_MODEL_ID,
              SYSDATE,
              SYSDATE,
              'PILLAR3'
              FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBCAR,                               
                   RCDWSTG.STG_FIN_ACC STFC,          
                   RCDWSTG.STG_FIN_ACC_PARTY_SRC SRC,               
                   RCDWSTG.STG_PARTY_SRC PRTY,
                   (SELECT MAX(PARTY_SRC_RK) AS PARTY_SRC_RK, ACC_RK               
                        FROM RCDWSTG.STG_FIN_ACC_PARTY_SRC                         
                        GROUP BY ACC_RK) MXP,
                   REFERENCE.REF_P3_BCAR_EXPOSURE_CLASS_CD RF1,
                   REFERENCE.REF_PD_BAND RF2,
                   REFERENCE.REF_MATURITY_TERM RF3,
                   REFERENCE.REF_GEO_SECTION RF4                                             
              WHERE VBCAR.ACC_RK = STFC.ACC_RK               
                   AND VBCAR.SOURCE_SYSTEM = STFC.SOURCE_SYSTEM                              
                   AND MXP.ACC_RK = STFC.ACC_RK
                   AND SRC.ACC_RK = STFC.ACC_RK
                   AND VBCAR.EXPOSURE_CLASS_CODE = RF1.BCAR_EXPOSURE_CLASS_CODE
                   AND VBCAR.PD_BAND = RF2.PD_BAND
                   AND PRTY.COUNTRY_CD = RF4.COUNTRY_CODE
                   AND STFC.SOURCE_SYSTEM = SRC.SOURCE_SYSTEM               
                   AND STFC.SOURCE_SYSTEM = PRTY.SOURCE_SYSTEM
                   AND SRC.PARTY_SRC_RK = PRTY.PARTY_SRC_RK               
                   AND SRC.SOURCE_SYSTEM = PRTY.SOURCE_SYSTEM
                   AND MXP.PARTY_SRC_RK = SRC.PARTY_SRC_RK
                   AND SRC.PARTY_ROLE_CD = 'BOR'
              GROUP BY VBCAR.MONTH_END_DATE,
                   VBCAR.SOURCE_SYSTEM,
                   RF1.PILLAR3_EXPOSURE_CLASS_CODE,
                   VBCAR.EXPOSURE_CODE,
                   VBCAR.EXPOSURE_CLASS_CODE,
                   CASE
                        WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
                        WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
                        WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
                        WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
                        WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
                             VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
                        WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
                             VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
                        ELSE VBCAR.CCIS_PRODUCT_GROUP
                   END,
                   VBCAR.CCIS_PRODUCT,
                   VBCAR.PD_VALUE,
                   VBCAR.LGD_RATE,
                   RF2.PD_BAND,
                   RF2.PD_BAND_DESCRIPTION,
                   RF3.RESIDUAL_MATURITY_TERM,
                   CASE
                        WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
                             VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
                        WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                             AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
                        WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
                             AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
                        ELSE 'NOT INSURED'
                   END,
                   CASE
                        WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
                        WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
                             AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
                        THEN 'PARTIALLY SECURITIZED'
                        ELSE 'NOT SECURITIZED'
                   END,
                   VBCAR.NOTIONAL_PRINCIPAL_AMT,
                   (VBCAR.POST_SEC_RWA_AMT * .08),
                   RF4.GEO_SECTION,               
                   VBCAR.PD_MODEL_ID
    but its showing missing values keyboard.

  • Upload material and contract data from file in CCM 2.0

    Hi guys,
    This might be a difficult one!
    We have the following situation in a Client:
    We are upgrading a Requisitite catalog (working with BBP 2.0)
    to a CCM 2.0 catalog.
    In Requisite, one can upload material- and contract data from a file (it is standard funcionality) into the database.
    We need to have the same kind of funcionality in CCM 2.0 because our client does not prefer to work with XI (which is the standard SAP solution in these cases).
    How can we accomplish this? maybe with some additional ABAP coding!
    Our client is not working with Vendor Catalogs but I´m trying to see if we can use a dummy vendor catalog to accomplish material upload in CCM2 form a CSV file.
    Anyone had to face this situation before?
    If so, please provide some clues how to do it?
    Thanks in advance,
    Aart

    SAP CATALOG CSV 2.0 <;>
    Defaults;EN
    Model
    Catalog;All;;All Catalog
    DataType;DATE;DATE;Date
    Characteristic;Z_ACTION;/CCM/NAME;false;Action
    Characteristic;/CCM/PRODUCT_ID;/CCM/ID;false;Part Number
    Characteristic;/CCM/SHORT_DESCRIPTION;/CCM/DESCRIPTION;false;Description
    Characteristic;Z_MATERIAL_TYPE;/CCM/ID;false;Material Type
    Characteristic;/CCM/MINIMUM_QUANTITY;/CCM/MINIMUM_QUANTITY;false;Order Unit
    Characteristic;Z_CONTENT;/CCM/MINIMUM_QUANTITY;false;Content
    Characteristic;/CCM/LEAD_TIME;/CCM/LEAD_TIME;false;Lead Time
    Characteristic;Z_SUPPLIER_ID;/CCM/ID;false;Supplier Number
    Characteristic;Z_SUPPLIER_NAME;/CCM/NAME;false;Sup Name
    Characteristic;Z_P_GROUP;/CCM/ID;false;Purchasing Group
    Characteristic;Z_P_ORG;/CCM/ID;false;Purchasing Org
    Characteristic;/CCM/CONTRACT_ID;/CCM/ID;false;Contract Number
    Characteristic;/CCM/CONTRACT_ITEM_ID;/CCM/ID;false;Contract Item
    Characteristic;/CCM/PRODUCT_GROUP;/CCM/ID;false;Product Category
    Characteristic;/CCM/PRICE;/CCM/PRICE;true;Price
    Characteristic;Z_DATE;DATE;false;Date
    Characteristic;/CCM/LONG_DESCRIPTION;/CCM/LONG_DESCRIPTION;false;Long Description
    Characteristic;/CCM/PICTURE;/CCM/ATTACHMENT;false;Picture
    Schema;All;Z_ACTION;Z_MATERIAL_TYPE;Z_CONTENT;Z_SUPPLIER_ID;Z_SUPPLIER_NAME;Z_P_GROUP;Z_P_ORG;Z_DATE;All Schema
    Category;10000300;;;ABC
    Category;10000400;;;DEF

  • Loading History Data

    Hi All.
    I have some data loaded in BW flow from Nov 13 to Till date.Its a daily load.Now the client wants the data before Nov. 13 also.One month data has above 2 crore records.Its an FIGL Load.As its a daily load,i have a small window of time to load the history data before the daily data load happens.So i plan to load data for 1 month at a time.
    How to go about this.Repair Full i need to do?Have not done it before,can anyone guide?Any chance of PSA getting corrupt?How will delta work
    ?Will it affect the daily load?Do i need to make the history request red in PSA to load and then load into my flow maually when the daily chain is not going as the FIGL load goes into many other flows.Its in the Production so if anything goes wrong.Everything will be impacted.
    Thanks
    Aditya

    My understanding was this:
    You enhanced BW cube with 2 fields, move to prod. everything was fine.
    On BPC Side you loaded data from BW Enhanced cube by usig DM pkges as-usual. But your BPC cube was doubled after this load.
    If yes then, Check as suggested above.
    One more major point here. You did bw cube enhanced as your business in BW only(guess). For added fields you may be loaded historical data.  am i right.think so.
    So now your BW cube have historical data till now. When coming BPC cube, you may not be deleted data from  BPC Cube (old data) which you loaded,because its not necessary. If your BPC have some data before this load, then after this load its may doubled. because BW Cube have historical data.  BPC Cube old data was lied in bw historical data, whatever option you used at DM pkg, you get double.
    Even if you loaded delta pkg at BPC side also you will get doubled. because source bw cube have old data in new request form.
    for BW enhancement - BW deleted data and reloaded
    For BPC - didn't deleted,without deletion, data requested from bw cube, so bpc data will be double.
    Work around: if above my points are right then you just delete BPC cube data and reload whole again.
    When enhancing BW cubes which are used in BPC models. need to remember about this data issue.
    Thanks.

  • MDM Product History cMDM A2I MDM

    I've searched this forum and browsed can someone describe the product history (SAP MDM) and evolution but that answer doesn't go deep enough.
    Back about 9 years ago SAP was trying to develop an MDM product they called cMDM (collaborative Master Data Mgmt).
    I'm aware of their 2004 acquisition of A2I and how they based their new MDM Product on that acquisition.
    I understand that the Product portion of SAP MDM is based on the A2i PIM acquisition. My question is, is the Customer and Vendor SAP MDM solution also based on A2i, or is it based on the earlier SAP cMDM development work?
    I realize this is kind of like product archeaology, but I have a client that wants to do MDM for Cust and Vendor but won't touch the A2i solution.
    Thanks,
    Joe

    Hello Joe
    Today the "A2i solution" is the only MDM solid solution that SAP provides, there are many customers using Vendor and Customer scenarios using the SAP MDM solution.
    Which customer are you talking about ? Why he doesn't want to use the A2i solution ?
    Thanks
    Regards
    Yaron

  • How to do the CRM Product Master Data extraction?

    Hello guys,
    I have to upload the CRM Product Master Data from a CRM 6.0 system to a BI 7.0 system.
    The only information that I have is the infocube in the BI for the extraction is 0CRM_PROD.
    I've checked that the CRM Product table COMM_PRODUCT and found that entries in the table and the infocube don't correspond to each other exactly. I also cannot find approprite DataSource in BI or CRM system for the data transfer.
    Who can telll me anything about this kind of master data extraction to BI?
    Thanks in advance.
    Best Regards

    Hi,
    u tried using the generic extraction using rso2.create one datasource and give the table name comm_prod.
    bye.

  • For photography I have CS4, Lightroom 5.3, I use Bridge and sometimes NIK and Topaz Plugins. If I want to update to CC, what is the plan I need? Will all of my Lightroom history data be retained?

    For photography I have CS4, Lightroom 5.3, I use Bridge and sometimes NIK and Topaz Plugins. If I want to update to CC, what is the plan I need? Will all of my Lightroom history data be retained?

    Probably the special photography plan - Creative Cloud pricing and membership plans | Adobe Creative Cloud
    For details on any program, you should ask in the forum for that program
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Can someone describe the product history (SAP MDM) and evolution

    can someone describe the product history (SAP MDM) and evolution

    Hi SasikanthReddy M,
    can someone describe the product history (SAP MDM) and evolution
    This is what one of the blog says on this:
    MDM product was available for the last few years and its last version was MDM 3.0 this product was ABAP based tool with very strong capabilities in large scale data integration and consolidation between SAP systems, the problem with this tool was that it was too complicated for implementation and less strong in the client side.
    In order to make it better SAP had to decide whether to invest more development efforts or buy some other product that will be able to provide the missing capabilities, during the quest for this tool SAP found this Israeli company called A2I and their product called xCat. Even though the xCat product was intended for product catalog management SAP identified the grate potential in it both from conceptual and technical point of view and decided to buy it and make it SAPu2019s MDM product.
    At first this product was called MDME (MDM Extension) but now it was announced as the MDM official tool by SAP. The MDM5.5 tools is a very sophisticated tool from one hand providing great Data Modeling , data consolidation, fast data extraction , and search capabilities, and from the other hand it is very simple for installation and implementation (both from infrastructure point of view and end user experience). So now SAP has a very strong offering in the MDM world:
    Now the lastest version of MDm is MDM 5.5 SP06.
    Hope it helps.
    *Kindly reward points if helpful
    Thanks and Regards
    Nitin Jain

  • Planning BW Production Server Data Patchup

    Hi Folks,
    My  BW Production Server was down for few weeks and we could able to fix the problem, Now we want to load the data that was not loaded since the production server was down (about 2 weeks of data should be loaded on the production server).
    Please advice a proper plan to upload the 2 weeks data.
    Thank you,
    Jay

    Hi Jay,
    it's not the right forum for this question. Data warehousing would be right.
    Anyway, your question can not be answered fully. There are many possible dependencies. Check note <a href="http://service.sap.com/~iron/fm/011000358700000431401997/0731682">731682</a> and related notes.
    Regards
    Marc
    SAP NetWeaver RIG

  • Upload Excel sheet using Data Integrator 6.1?

    hi all ,
    Upload Excel sheet using Data Integrator? and how to create ODBC for the PC and jobserver i am using version 6.1? i am using excel as my one of the data source and tell me how to use different types of data sources in DI . after uploading the xl file if i apply any transform on the excel data i will give error like
    Posted: 25 Sep 2008 04:30
    Post subject: Re: Upload Excel sheet using Data Integrator? 
    I am getting the error like
    3128 292 CON-120302 09-25-08 09:59:40 ODBC call <SQLDriverConnect> for data source <sas> failed: <[Microsoft][ODBC Driver Manager] Data source name not found and no
    3128 292 CON-120302 09-25-08 09:59:40 default driver specified>. Notify Customer Support.
    1512 2992 CON-120302 09-25-08 09:59:41 ODBC call <SQLDriverConnect> for data source <sas> failed: <[Microsoft][ODBC Driver Manager] Data source name not found and no
    1512 2992 CON-120302 09-25-08 09:59:41 default driver specified>. Notify Customer Support.
    Please help me out
    Thank u

    Hi Shonti,
    The DI 11.7 installer can be used to upgrade a DI 6.1 local repository (e.g. the upgrade is supported).  This will migrate all jobs and flows.  They will remain intact, however, this is always a major migration effort and should not be taken lightly.  If you do upgrade, please make sure this is a planned effort with rigorous testing and validation.  You should also ensure that you consult the release notes and [supported platforms documentation|https://websmp110.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202] for the 11.7 package you intend to install.  The DI 11.7 documentation also contains info about how to install and configure the Excel Adapter, and what functionality it provides.
    Thanks,
    ~Scott

  • Pull Opportunity Contact Ship Address using Opportunity-Product History

    Hi,
    I am looking for a way to report opportunities and I need to be able to pull the opportunity contact's ship to address. I'm using the Opportunity-Product History view as it is the only one that has the custom fields that I need.
    Any ideas as I didn't see opportunity contact to choose from, much less the address.

    I'm still confused, obviously I don't know how to do a union. It keeps telling me that I must select the same number of columns from both reports. I thought that this would be as simple as a JOIN in SQL...I guess not.
    FYI, I can't find the key contact address anywhere, anyway.

  • *Journal Entries while uploading the vendor master data from legacy system*

    hi SAP Folks,
    can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
    Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
    thanks in advance.
    Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PM

    Hi
    you will be having  only one entry logically
    i.e. Opening Bal. clrng A/c Dr.
           To Vendor A/c Cr.
    regards

Maybe you are looking for