Need to Populate Material Type from ECC to APO Product Master

Hi All,
I need to update the material type field from ECC to APO.
I am using the userexit CIFMAT01 and component EXIT_SAPLCMAT_001.
I need to extract field MTART from MARA table and need to Populate it in APO Product master.
In APO i am using the ATT01 field of table /SAPAPO/MATKEY.
But this does not work the data of material type is not getting populated in APO.
We have tried to use a break point in the user exit and while executing the transaction CFM2 it does not stop at the break point.
Can anyonwe guide me as to how to go about in implemeting this user exit.
Regards
Nitin

Hi Nitin,
       Make sure that u r pass the material type as a below :
CT_CIF_MATKEY-ATT01 = Pass the Material Type.
CIF_MATKYX -ATT01      = 'X'.
Check the below thread to debug the CIF queue:
debugging CIF user exit
Regards,
Siva.

Similar Messages

  • Material Replication from ECC to SRM 7.0

    Hi Experts,
    I am working on Extended classic scenario SRM 7.0 with ECC 6.0, I have created the Material Group and Master data in ECC system. While doing replication via R3AS i am getting the following error msg( I have applied Note 720819 & 330401in ECC ).
    Errors:
    Hierarchy for material types does not exist
    (Before materials are imported from the ERP system, the material types from the  ERP system must exist as categories in CRM/EBP. When the Customizing object DNL_CUST_PROD1 is imported, the material types are imported automatically and created under the category MAT in the category hierarchy R3PRODSTYP (product subtype).)
    MATERIAL: Object will not be loaded
    Pl do the needful.
    Regards
    Mohan

    Hi  Pl check whether you follwed these steps are not.
    Hi find below for the product cat
    Steps to create the product category in SRM:
    1) Create MM material groups in ECC client. This will create a transport. Go to SRM Tcode R3AS and select the object u201CDNL_CUST_PROD1u201D from the list and run it. You can monitor the job using R3AM1 in SRM. This will bring the material group into SRM. This can be seen in TCode u201CCOMM_HIERARCHYu201D in SRM.
    2) Once it is done. Go to IMG in SRM and go to path SRM> SRM server> Cross app biz settings> Account aassigmnet> Define GL code for Acc *** Cat and Prod Cat. Maintain the GL code against this prod cat for all the account assignment codes. This is client specific setting and need to be done in every client by opening it. This GL code is given in the form in ticket.
    3) Do a test and check if the product category is available for procurement in SC.
    Regards,
    Satish

  • Material Updates from ECC to CRM

    Hi Experts,
    We recently had application of Enhancement Pack4 on our ECC system. After the application EHP4 pack, we have started getting some material updates from ECC to CRM. And those updates are failing in CRM as we do not have any material set up in CRM. Due to these failed updates, lot of dumps are getting created in CRM. So can u please advice where/how in ECC i can restrict these updates to go to CRM. Any help in this will be highly appreciable.
    Regards
    Charitha

    Hello Charitha,
    In txnn:R3AC4 of CRM , check INACTIVE flag for object MATERIAL (and any other objects whose data is not required in CRM)
    for your RFC destination (ECC).
    This would prevent any automatic data flow for this object from R/3 to CRM.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Populate collection type from XMLType

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Please bear with me as I'm new to this XML DB thing and also this is my first post.
    I'm trying to populate collection type from XMLType. I was able to populate a table from XMLType but
    couldn't figure out a way to populate the collection type. Here is the description of my problem:
    Object Type:
    CREATE OR REPLACE TYPE DOC_ROWTYPE AS OBJECT
         REFERENCENUMBER VARCHAR2(255),
         REQID NUMBER(12),
         REQDETID NUMBER(12),
         FROMAMOUNT VARCHAR2(31),
         TOAMOUNT VARCHAR2(31),
         TOACCOUNTID NUMBER(12),
         TOACCOUNTNUMBER VARCHAR2(35),
         FROMACCOUNTID NUMBER(12),
         FROMACCOUNTNUMBER VARCHAR2(35),
    Collection Type:
    CREATE OR REPLACE TYPE DOC_TABLETYPE IS TABLE OF DOC_ROWTYPE;
    I have a physical table which is created when I registered a schema.
    A table (Temp_Result) got created with column SYS_NC_ROWINFO$ which is of XMLType.
    As you can see this is only a temporary table which will store the response XML which I want to finally get it to collection type.
    XML to parse:
    <code>
    <TFSResponse>
    <TFS>
    <refNumber>12345</refNumber>
    <reqId>123</reqId>
    <reqDetId>111</reqDetId>
    <fromAmount>20</fromAmount>
    <toAmount>20</toAmount>
    <fromAccount>
    <accountId>22222</id>
    <accountNumber>12345678</number>
    </fromAccount>
    <toAccount>
    <accountId>33333</id>
    <accountNumber>123456789</number>
    </toAccount>
    </TFS>
    .... many TFS Tags
    </TFSResponse>
    </code>
    So each object in the collection is one TFS tag.
    Any advice on how to implement this?

    Does this help
    SQL> CREATE OR REPLACE TYPE ACCOUNT_T as OBJECT (
      2    "accountId"       NUMBER(12),
      3    "accountNumber"   VARCHAR2(35)
      4  )
      5  /
    Type created.
    SQL> show errors
    No errors.
    SQL> --
    SQL> CREATE OR REPLACE TYPE TFS AS OBJECT(
      2     "refNumber"  VARCHAR2(255),
      3     "reqId"      NUMBER(12),
      4     "reqDetId"   NUMBER(12),
      5     "fromAmount" VARCHAR2(31),
      6     "toAmount"   VARCHAR2(31),
      7     "fromAccount" ACCOUNT_T,
      8     "toAccount"   ACCOUNT_T
      9  );
    10  /
    Type created.
    SQL> show errors
    No errors.
    SQL> --
    SQL> CREATE OR REPLACE TYPE TFS_C
      2      as TABLE of TFS
      3  /
    Type created.
    SQL> show errors
    No errors.
    SQL> --
    SQL> CREATE OR REPLACE Type TFS_RESPONSE_T as OBJECT(
      2    "TFSResponse" TFS_C
      3  );
      4  /
    Type created.
    SQL> show errors
    No errors.
    SQL> /
    Type created.
    SQL> CREATE OR REPLACE type CODE_T as OBJECT(
      2    "code" TFS_RESPONSE_T
      3  );
      4  /
    Type created.
    SQL> show errors
    No errors.
    SQL> --
    SQL>
    SQL> with "MY_XML" as
      2  (
      3    select XMLTYPE(
      4  '<code>
      5     <TFSResponse>
      6             <TFS>
      7                     <refNumber>12345</refNumber>
      8                     <reqId>123</reqId>
      9                     <reqDetId>111</reqDetId>
    10                     <fromAmount>20</fromAmount>
    11                     <toAmount>20</toAmount>
    12                     <fromAccount>
    13                             <accountId>22222</accountId>
    14                             <accountNumber>12345678</accountNumber>
    15                     </fromAccount>
    16                     <toAccount>
    17                             <accountId>33333</accountId>
    18                             <accountNumber>123456789</accountNumber>
    19                     </toAccount>
    20             </TFS>
    21             <TFS>
    22                     <refNumber>12346</refNumber>
    23                     <reqId>123</reqId>
    24                     <reqDetId>111</reqDetId>
    25                     <fromAmount>20</fromAmount>
    26                     <toAmount>20</toAmount>
    27                     <fromAccount>
    28                             <accountId>22222</accountId>
    29                             <accountNumber>12345678</accountNumber>
    30                     </fromAccount>
    31                     <toAccount>
    32                             <accountId>33333</accountId>
    33                             <accountNumber>123456789</accountNumber>
    34                     </toAccount>
    35             </TFS>
    36             <TFS>
    37                     <refNumber>12347</refNumber>
    38                     <reqId>123</reqId>
    39                     <reqDetId>111</reqDetId>
    40                     <fromAmount>20</fromAmount>
    41                     <toAmount>20</toAmount>
    42                     <fromAccount>
    43                             <accountId>22222</accountId>
    44                             <accountNumber>12345678</accountNumber>
    45                     </fromAccount>
    46                     <toAccount>
    47                             <accountId>33333</accountId>
    48                             <accountNumber>123456789</accountNumber>
    49                     </toAccount>
    50             </TFS>
    51     </TFSResponse>
    52  </code>') as "XML"
    53    from DUAL
    54  )
    55  select
    56    "TMOBILE"."CODE_T"(
    57      "TMOBILE"."TFS_RESPONSE_T"(
    58        CAST(
    59          MULTISET(
    60            select
    61              "TMOBILE"."TFS"(
    62                "refNumber_000002",
    63                "reqId_000003",
    64                 "reqDetId_000004",
    65                "fromAmount_000005",
    66                "toAmount_000006",
    67                "TMOBILE"."ACCOUNT_T"(
    68                  "accountId_000007",
    69                  "accountNumber_000008"
    70                ),
    71                 "TMOBILE"."ACCOUNT_T"(
    72                  "accountId_000009",
    73                  "accountNumber_000010"
    74                )
    75              )
    76              FROM
    77                XMLTABLE(
    78                  '/TFS'
    79                  passing "TFSResponse_000001"
    80                   COLUMNS
    81                   "refNumber_000002"                  VARCHAR2(255)                       PATH 'refNumber',
    82                   "reqId_000003"                      NUMBER                              PATH 'reqId',
    83                    "reqDetId_000004"                   NUMBER                              PATH 'reqDetId',
    84                   "fromAmount_000005"                 VARCHAR2(31)                        PATH 'fromAmount',
    85                    "toAmount_000006"                   VARCHAR2(31)                        PATH 'toAmount',
    86                     "accountId_000007"                  NUMBER                              PATH 'fromAccount/accountId',
    87                      "accountNumber_000008"              VARCHAR2(35)                        PATH 'fromAccount/accountNumber',
    88                     "accountId_000009"                  NUMBER                              PATH 'toAccount/accountId',
    89                      "accountNumber_000010"              VARCHAR2(35)                        PATH 'toAccount/accountNumber'
    90                )
    91          ) as "TMOBILE"."TFS_C"
    92        )
    93      )
    94    )
    95    FROM MY_XML,
    96      XMLTABLE(
    97        '/'
    98        passing "XML"
    99        COLUMNS
    100              "TFSResponse_000001"                XMLTYPE                             PATH 'code/TFSResponse/TFS'
    101       )
    102
    SQL> /
    CODE_T(TFS_RESPONSE_T(TFS_C(TFS('12345', 123, 111, '20', '20', ACCOUNT_T(22222, '12345678'), ACCOUNT_T(33333, '123456789')), TFS('12346', 123, 111, '20', '20',
    ACCOUNT_T(22222, '12345678'), ACCOUNT_T(33333, '123456789')), TFS('12347', 123, 111, '20', '20',
    ACCOUNT_T(22222, '12345678'), ACCOUNT_T(33333, '123456789')))))
    SQL>

  • Amend Forecast after CIF import from ECC to APo

    Hi all,
    I need to amend the forecast in APo after a particular Sales Order type has been imported.
    The import Occurs using an RFC connection to trigger the Function Module /SAPAPO/CIF_SL_DOC_INBOUND
    Is there a user exit that gets fired after this completes? I've found one at the beginning but not at the end.
    If anyone has any other ideas how this could be achieved then please let me know.
    Thanks.
    Regards
    Dave

    I can use the CIF for independent demands or PIR's from ECC to APO.  But the CIF functionality that sends independant requirements ignores MRP elements with type SB for dependant requirements you can not pick them up.  At least I have not found a method for the standard CIF to send MRP elements SB as of yet.
    -Mike

  • How to delete Master Data transferred from ECC to APO via CIF

    Hi, all
    I'm connecting SCM 5.1 with ECC 6.0 via CIF.
    When activating Integration Model in ECC, the following error occurred;
       "Location 0001 of type 1001 (BSG 592BUSGP) already exists in APO"
    This is because Location 0001 was already transferred from different ECC client via CIF, and not cleared.
    I'm now trying to initialise master data transferred from ECC to APO via CIF, but in vain.
    I suppose I have to first delete all master data CIFed from ECC in APO, or have to execute initialisation of APO master data with ECC data in ECC.
    Please tell me how to do this.
    For details, please read the followings;
    I connected APO client with ECC client 590.
    I transferred Plant and Material Master from ECC to APO via CIF.
    After that, I wanted to change ECC client from 590 to the other.
    I created the other client (592) by client-copying from 590 with SAP_ALL copy profile.
    I deactivated Integration Model in ECC 590, and activated the same in ECC 592.
    Here, I faced the problem.
    The initial data transfer failed due to the duplicate of data.
    Now I'm wondering how I can initialise master data in APO and transfer initial data from ECC.
    Due to testing purposes, I have to change ECC clients from one to the other this time, but I cannot initialise master data in APO and cannot tansfer initial data from different ECC client.
    thanks in advance,
    Hozy

    Hi all,
    Thank you very much indeed for lots of your replies.
    Thanks to all of your advices, I'm getting to understand what to do.
    Well, I'll say I have to create one more client for testing with other ECC clients or I have to rebuild the client by client-copying from 001 and implementing all transportation requests, for marking del flags to each master data and running del programme sound like tough work, and sound like odd ..
    Then, I've got next issue here.
    In SCM-APO, I use BI objects, and , if I have to create several clients for testing, I have to set up clients where you can use both BI objects and CIFed master data.
    I suppose I have to change 'BWMANDT' in RSADMINA and make RSA1 accessable in other SCM clients and implement tests.
    Also, I have to register BI System for newly created SCM clients in RSA1-SourceSystem.
    Well, if you have any experiences on this kind of use, and if you have any advice on it, please give me any tips.
    Particulary, I'd appreciate very much if you give me advice on which way you have chosen; creating several clients or rebuilding the one client in SCM-APO when you use both BI objects, CIFed master data and Demand Planning.
    Thanks in advance.
    Hozy

  • Change a Material A from Planning at APO( XO ) to MRP (PD)

    Hi,
    if i change a material from planning at APO to R3, what is the impact that i need to prepare ?
    do i need to delete the planned order at APO for the material and set the deletion flag for the material at APO or delete the material.
    Do i need to set a C5 to delete the APO planned order at R/3?
    Regards

    Hi,
           When you change the material MRP type from X0 to PD, the integration model stops integrating the material between R/3 and APO meaning any changes done to the material or the BOM or routing or orders or any where the material is referenced is not integrated any more.
    So, just to be safe, before changing the MRP type, go to transaction WUF ( where used Function) in APO and search for all orders.
    Depending on your configuration, usually PPDS orders are set to immediate transfer to R/3 but SNP orders are set to periodic. So in both the cases, you have to delete the material using program /sapapo/rlcdelete with selection deletion in R/3 and APO or send deletion. If it is SNP order, you need to run the transaction /sapapo/C5 to push the changes/deletion.
    Then you can change the MRP type to PD from X0.
    So after you change the MRP type, create and activate your integration model again. Check in CFM2 to make sure the material is not being picked up any more by the relevant integration models.
    Then it's up to you to keep or delete the APO product master.
    The orders generated for this material are also no longer integrated.

  • Issue in transfer of data from ECC to APO

    Hi All,
    I have a requirement of transferring data from ECC to APO. I am using EXIT_SAPLCMAT_001 fro this purpose. The problem is, I need to transfer the data of a field that is not present in cif_matloc but present in /sapapo/matloc.
    How should I proceed...Please help....this is an urgent requirement
    Thanks & Regards,
    SriLalitha

    Hi,
    you may want to go to the transaction /SAPAPO/SNP_SFT_PROF
    Determine Forecast of Replenishment Lead Time
    Use
    In this field, you specify how the extended safety stock planning determines
    the forecast of the replenishment
    lead time (RLT). The following values are available:
    Supply Chain
    The system determines the RLT forecast using the supply chain structure by
    adding the corresponding production, transportation, goods receipt, and goods
    issue times. If there are alternative procurement options, the system always
    takes the
    longest
    option into account.
    Master Data
    The system determines the RLT forecast from the location product master
    data.
    Master Data/ Supply Chain
    First, the system determines the RLT forecast from the location product
    master data. If no RLT forecast can be determined, the system determines the
    forecast using the supply chain structure (as described under
    Supply
    Chain
    Dependencies
    You can retrieve the replenishment lead time forecast yourself by using the
    GET_LEADTIME
    method of the Business Add-In (BAdI) /SAPAPO/SNP_ADV_SFT.
    Replenishment Lead Time in Calendar Days
    Number of calendar days needed to obtain the product, including its
    components, through in-house
    production or external
    procurement.
    Use
    The replenishment lead time (RLT) is used in the enhanced methods of safety
    stock planning in Supply Network Planning (SNP). The goal of safety
    stock planning is to comply with the specified service level, in order
    to be prepared for unforeseen demand that may arise during the replenishment
    lead time. The longer the RLT, the higher the planned safety stock level.
    Dependencies
    The field is taken into account by the system only if you have specified
    master data or master data/supply chain in the RLT: Determine
    Forecast field of the safety stock planning profile used.
    Hope this helps.
    The RLT from ECC is in MARC-WZEIT which is transferred to APO in structure /SAPAPO/MATIO field CHKHOR.
    May be if you maintain the setting in the profile, you may get the value in RELDT.
    Thanks.

  • CIF of transaction data from ECC to APO

    Hi,
    I wanted to know where we maintain the configuration for real time transfer of transaction from ECC to APO.
    I know for master data we have an option in CFC9 for real time/periodic transfer. Is there any similar config for transaction data too like sales orders etc.

    Hi Alok,
    To allow online transfer of changes to transaction data from SAP R/3 to SAP APO, you have to activate generally the BTEs in SAP R/3.
    This is done in R/3. This is the path:
    SPRO --> Integration with Other SAP Components --> Basic Settings for the Data Transfer --> Change Transfer --> Change Transfer for Transaction Data --> Activate Online Transfer Using BTE
    You can read about it here:
    Change Transfer for Transaction Data - Integration via APO Core Interface (CIF) - SAP Library
    Then of course you will need to generate and actiave your IModels.
    Kind Regards,
    Mariano

  • Transfer product division from ECC to APO

    Hi Experts,
    To transfer product division field from ECC to APO, I have made changes in FM EXIT_SAPLCMAT_001 to add entry in table OT_CIF_MATKEYCUS. And it is populating record correctly.I have added a field for product division in table /SAPAPO/MATKEY.but product division field value is not transfered to APO side. Is there any change I need to do at APO side ??

    Hi,
    have you checked documentation for FM EXIT_SAPLCMAT_001? It's written there that you need to implement user exit APOCF005 in SAP APO.
    Cheers

  • Regarding Integration Model to CIF from ECC to APO

    Hi ,
    Please assist me in the following issues:
    What will the impact if any material is ciffed twice or multiple times from ECC to APO through IM ...will it generate inconsistency ? if so, how we can avoid this ?
    While I'm ciffing the material from ECC to APO through IM, the ' Find Master Data Object ' is showing certain number say 'X' but when I'm running CTM for it the explosion of BOM  of Master Data is showing less number of material than 'X'...in that case what might be the possible issue ?
    While generating IM , can I club Sale Order, Sale Order Stock, Planned Order, Prodn order under same variant ? or ill it generate inconsistency ?
    TIA
    -Michael

    Hi Michael,
    1. It is not a problem. Is is quite common to CIF materials twice a days or even more. It shoul not generate inconsistencies.
    2. You could have more materials than materials bith BOM. In other words, maybe not all your materials have a BOM.
    3. Its recommended to have a separate integration model for your object.
    Read this document with the Best Practices:
    https://websmp102.sap-ag.de/~sapidb/011000358700000715082008E
    Also, note that I was mentioned by Dog Boy, it is convinient asking single questions in your threads. This way you will find more responses.
    Kind Regards,
    Mariano

  • Vendor product relation not transfered from ECC to APO

    Hi,
    I am new to APO.
    We are transferring the info records(me13n)  details from ECC to APO by CIF .
    But in APO system , when I check the product for the location(/sapapo/mat1)  it says the product is not created for vendor.
    but this details are present in info records in ECC.
    Hence currently, we are manually creating the products for vendor.
    Is there any BADI where all vendor-product link can be transferred

    Hi Rachel,
    You can use BAdI: /SAPAPO/CIF_ENHANCE_TPSRC (method CHANGE).
    Take a look at SAP Note:
    1873917 - CIF Purchasing Info Record - Product does not exist at
    Vendor location
    I never used that BAdI, but we made something similar. We made an enhancement some time ago to extend the Product at the Vendor Location. This was done for subcontracting at the time the PPM was transferred. I am not sure if this is your case, because you just mentioned that you needed for a vendor. If it applies, please check here:
    483358
    - Subcontracting: creating product masters automatically
    Kind Regards,
    Mariano

  • Problems when trying to transfer location from ECC to APO

    Hello,
    I am trying to transfer some locations from ECC to APO via CIF, but a system error appears: "Message no. SR053, data error for the location address 1000". For this reason I have not been able to transfer any location to APO. Could anybody tell what could the problem?
    Thanks in advance,
    David

    Hello Tiemin,
    Thanks for your answer. Based on your answer we changed some settings and now we are able to transfer locations from ECC to APO, but the error message is still showing, so even tough the error is not stopping the transfer now, we are not able to find what could be the problem.  Any more ideas about what we need to check?
    Thanks againg for you help.
    David.

  • How to CIF enterprise Change Management ECM, from ECC to APO

    Dear All.
    I am facing problems during CIF process for ECM (Enterprise Change Management) from ECC to APO.
    Every change into Material Master, BOM, etc, we must to create one Change Number (CC01) and link with the master data that we are changing.
    But when we are changing the BOM status to 02 - Inactive for a specific period, and then transport this information from ECC to APO using Core Interface, into APO the BOM, in this case PPDS, will be changed for the Whole Period. It means that the PPDS will be set as Inactive into APO being set to become inactive in the future on ECC.
    Thank you all.

    Somebody knows where I can found information regarding Core Interface for ECM (Enterprise Change Management).
    Thank you all.

  • Transfer of PIR from ECC to APO - Time stamp

    Hi Friends,
    We are transferring Planned Independent requirements from ECC to APO through CIF.
    In APO Product view Forecast requirements Date is sync fine with ECC date however the time is setting default to 03:00:00 am.
    we want the time to be set to 06:00:00 am by default.
    How we can we archive this?
    Regards,
    Krish

    Dear Tiago,
    I changed Product view Time zone settings, and issue resolved.
    Thanks for your valuable reply. Awarded you the points.
    Regards,
    Krish

Maybe you are looking for

  • How do i fix a dead spot at the bottom of an ipod touch?

    I have a dead spot at the bottom of my screen. I can swipe, put my password in, and slide through the home pages. However, I am unable to select either of the original four menu options (Messages, Safari, Settings, or Music). I dont know what to do,

  • ABAP error: CALL_FUNCTION_NOT_FOUND

    Hi, I am getting Message having CALL_FUNCTION_NOT_FOUND after saving my document in ME22N Tcode. Message i am getting in my inbox: Transaction.. ME22N Update key... 80234FDE6D51F11C9004001A6435E8C6 Generated.... 02.06.2009, 05:15:29 Completed.... 02.

  • Problem while Connecting with oracle thin driver

    I have been trying for the past two days for connecting oracle 8.1.1.6 using thin driver. I set the classpath also. It throws me the following exception. Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap ter could not e

  • Can't Open TIF in ACR

    I have some files that were JPEGs which I opened in ACR, did some work, and then transferred them to PS. After saving in PS as TIF files, I cannot reopen them in ACR. They do not open automatically in ACR, and Ctrl-O and Ctrl-R do not open the files

  • Array of sliders with different properties possible?

    Hello, I'd like to have an array of sliders with different properties. And since that's not possible simply by creating an array of sliders, are there any workarounds for creating what's in the attached VI? The reason for having an array of sliders i