BAdI: Determine Target Object in BE System  IT_ITEM to CT_ITEM mapping

Hi everyone,
We are doing an upgrade to SRM 5.0 from EBP 3.5. For the BAdI stated in the topic, we need some information to adapt an old BAdI for the new version.
The post by Nicholas and answered by Christophe has been most helpful indeed. But I have one more query on some of the mappings.
For the same BAdI, in the IT_ITEM, we have:
AGREEMENT -     KONNR     CHAR     10     Number of principal purchase agreement
AGMT_ITEM -     KTPNR     NUMC     5     Item number of principal purchase agreement
In the new implementation, the signature has changed to CT_ITEM and there does not seem to be a direct corresponding field for these items. Can anyone please tell me what are the corresponding CT_ITEM fields that can be used in place of the original fields?
Is it any of these:
CTR_GUID
CTR_ITEM_NUMBER
CTR_HDR_NUMBER
CTR_HDR_GUID
Thank you!

Hi Ban,
I already pointed those new contract fields in the previous post.
So yes, screen those fields instead of old ones.
Contract GUID fields will be populated only for local contracts (SRM contract GUID). Contract ID field is populated for SRM and R/3 contracts as well.
Rgds
Christophe
PS: please reward points for helpfull answers

Similar Messages

  • BAdI: Determine Target Object in BE System

    Hi all
    We have recently done an upgrade to SRM 5.0 and I realised that the BAdI for determining target object is different.
    In the EBP 3.5 system in the SPRO, the BAdI name was BBP_TARGET_OBJECT. It seems that the BAdI name is now BBP_TARGET_OBJTYPE.
    Can anyone confirm that I can no longer use BBP_TARGET_OBJECT and must switch to BBP_TARGET_OBJTYPE?
    Thanks.
    Nicholas

    Hi all/Christophe
    I have found the BAdI but it seems that it is very different from the old one. Furthermore the documentation also seems to be old.
    In my implementation, I want to be able to change a Purchase <b>Order</b> to a Purchase <b>Requisition</b> depending on some checks.
    I used to do it by setting <i>ITEM_DATA-OBJ_TO_GEN</i> = '2' and clearing <i>ITEM_DATA-AGREEMENT</i>, <i>ITEM_DATA-AGMT_ITEM</i> and <i>ITEM_DATA-FIXED_VEND</i>.
    To perform my check I used to need <i>ITEM_DATA-MAT_GRP</i> and <i>ITEM_DATA-QUANTITY</i>.
    So far I can only find <i>FIXED_VEND</i> and <i>QUANTITY</i> in the new BAdI.
    Anyone with any ideas how to handle this?
    Many thanks
    Nicholas

  • Determine Target directory from Source file names with out mapping

    Hi All,
    I have a requirement to determine the Target Directories from the Source file names.
    File Sender Adapter - XI - File Receiver Adapter
    In this scenario I am not doing any mapping. Source File directory contain 3 files. These file should go to 3 directories in the Target Server.
    Please help me how can meet this requirement
    Thanks in advance
    Kevin

    Hi Kevin,
    if you can separate the files by name. have 3 sender communication channels each picking up one of the files (you do this by making the regex in the file name mutually exclusive) and then send them all to the target system using the same comm. channel.
    regards,
    Horia

  • How system determine target cost ?

    Dear experts,
    we use moving average price control for in-house production parts, when we finish one production order, I can not see any target cost from cost analysis.
    Can you tell me how system determine target cost ? for moving average price control , is that mandatory for variance calculation ?
    BR , Shubin

    Hi
    Target cost is calculated based on released Standard cost estimate
    What you are doing is wrong.. Follow S for In House Made items and release standard cost estimate before GR
    Maintain Target Cost Version 0 in IMG for variance Calculation
    br, Ajay M

  • Activate standard badi - prompts for Object Key?

    In SE19 when trying to activate an SAP delivered implementation of a badi I'm prompted for an object key for the implementation class.   
    fyi  Running ECC6 on Basis 7 kb14.
    Go to SE19
    Display badi FIAA_BW_DELTA_UPDATE
    Go to environment menu, choose activate.
    Notice that the activate option is greyed out?
    Go back and change the FIAA_BW_DELETA_UPDATE badi implementation.      Go to environment menu, choose activate. You'll be prompted for an object key for the implementing class -  CL_IM_FIAA_BW_DELTA_UPDATE.
    Is this correct behavior?   We don't want to change the class - just activate it.    Could I get around this by copying the class changing the implementation class to a ZCL_IM_FIAA_BW_DELTA_UPDATE?
    Thanks in advance for any help on this topic.

    Hi Ryan.
    You need to apply an OSS note for this
    Please check the extract below..it will solve the problem
    check the following Notes.
    Check these OSS Notes - 828240, 688477 and 590034,599896
    Note Pasted below :
    When you load the delta-enabled InfoSources of asset accounting, no time stamp information is updated in the OLTP system if you have selected "Simulation of the delta process initialization" (initialization without data transfer; technical mode 'S') as the update mode.
    This affects the InfoSources:
    1. 0ASSET_ATTR_TEXT
    2. 0ASSET_AFAB_ATTR
    3. 0FI_AA_11
    4. 0FI_AA_12
    As a result of the error, you cannot start delta extraction after the initialization without data transfer because the delta extractor does not find any time stamp information it can use.
    Other terms
    RSA3, BWOM2_TIMEST, delta, DeltaInit, BWFIT, 0FI_GL_4, BWFIT_GET_TIMESTAMPS, BWFIT_RESET_TIMESTAMPS, BWFIT_UPDATE_TIMESTAMPS
    Reason and Prerequisites
    a) The problem is caused by a program error.
    b) The 'FIAA_BW_DELTA_UPDATE' BADI is not active.
    Solution
    For a: Implement the source code corrections to create a correct time stamp for the initialization without data transfer.
    For b: For a data extraction to the BW system according to the delta method, the 'FIAA_BW_DELTA_UPDATE' BADI must be active. When assets are changed, this BADI writes the corresponding change entries which are read by the extractors to determine the delta values. If this BADI is not active, the extraction terminates with error BWFIAA 001 (BAdI implementation FIAA_BW_DELTA_UPDATE inactive in source system). During a DeltaInit extraction with data transfer, the system flags the data request as incorrect or canceled in the monitor and issues the error message. However, during the DeltaInit extraction without data transfer, the system does not issue an error in the BW system even though the extractor triggered an error message and the termination of the extraction in the OLTP system. The data request in the BW system has the status 'successful' and the user cannot see that an error has occurred. However, a time stamp is not created in these cases since the following delta extractions would cause inconsistencies because the BADI would not be able to log all changes that have occurred since the last extraction.
    Regards
    Byju

  • System Copy -- database PRR conains user object belongs to system user dbo

    Hi all,
    I am having an issue while performing the system copy for the sql server.
    Actions taken so far.
    1.Detached the database.
    2.Installed central instance in the target system .
    3.Attached the database using attach as option.
    4.Then used STM coll for the conversion.
    5.Bought sap in Up condition.
    Before detaching the database made export for java addin abap in source system
    Then I am trying to import the java add in abap using sapinst(system copy option)..In the half of the way i am getting the below message as ..
    DATABASE QAS containus user object belongs to system user dbo.
    I have performed the 551915 , 151603 but the still the same message is dispalying.
    In log files.  inserting
    TRACE [iaxxejsexp.cpp:208]
    EJS_Installer::writeTraceToLogBook()
    - Database XIA contains user objects belonging to system user dbo
    TRACE [iaxxbjsmod.cpp:301]
    CJSlibModule::showMessageBox_impl()
    <html> <head></head> <body> <b>Problems were found after checking configuration of database server b><br>- Database XIA contains user objects belonging to system user dbo<br><br>SOLUTION: Fix these problems to continue the installation. </body> </html>
    TRACE [iaxxgenimp.cpp:845]
    showDialog()
    waiting for an answer from gui
    TRACE [iaxxdlghnd.cpp:180]
    CDialogHandler::doHandleDoc()
    ACTION_OK received
    ERROR 2009-01-09 12:52:31 [iaxxinscbk.cpp:289]
    abortInstallation
    MDB-05919 Errors were found when checking connection to or configuration of database server (listed above in the log file).
    TRACE [iaxxejsbas.hpp:270]
    EJS_Base::dispatchFunctionCall()
    JS Callback has thrown std::ESAPinstException: ESAPinstException: error text undefined
    TRACE [syxxcfsmgt.cpp:430]
    CSyFileSystemMgtImpl::getFile(iastring,bool)
    lib=iamodmssql module=CIaNtMssDmo
    WARNING: THE FUNCTIONALITY YOU ARE USING IS DEPRECATED: getFile(const iastring & sFullName, bool bCaseSensitive) const. Use getFile(const PSyFSPath &) const instead.
    TRACE [syxxcfsmgt.cpp:195]
    CSyFileSystemMgtImpl::getNode(iastring,bool)
    lib=iamodmssql module=CIaNtMssDmo
    WARNING: THE FUNCTIONALITY YOU ARE USING IS DEPRECATED: getNode(const iastring & sFullName, bool bCaseSensitive) const. Use getNode(const PSyFSPath &) const instead.
    TRACE [syxxcfsmgt.cpp:921]
    CSyFileSystemMgtImpl::isExisting(iastring,bool)
    lib=iamodmssql module=CIaNtMssDmo
    WARNING: THE FUNCTIONALITY YOU ARE USING IS DEPRECATED: CSyFileSystemMgtImpl::isExisting(const iastring & , bool , ISyNode::eNodeType ) const. Use CSyFileSystemMgtImpl::isExisting(const CSyPath & , ISyNode::eNodeType ) const instead.
    WARNING 2009-01-09 12:52:31 [iaxxccntrl.cpp:477]
    CController::stepExecuted()
    The step dSetActionUnattended with step key J2EE_EngineEnterprise_Addin_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|J2EE_Engine|ind|ind|ind|J2EE_Engine|630|0|MssJ2eeDBSetup|ind|ind|ind|ind|ind|0|MssDatabaseInfo|ind|ind|ind|ind|ind|0|dSetActionUnattended was executed with status ERROR.
    TRACE [iaxxcsihlp.hpp:301]
    main()
    An error occurred during the installation of component SAP NetWeaver '04 SR1> SAP System Installation> Java Add-In for ABAP> MS SQL Server> Central / Distributed System> Java System Finalization. Press the log view button to get extended error information or press OK to terminate the installation. Log files are written to SAP NetWeaver '04 SR1> SAP System Installation> Java Add-In for ABAP> MS SQL Server> Central / Distributed System> Java System Finalization.
    TRACE [iaxxgenimp.cpp:845]
    showDialog()
    waiting for an answer from gui
    TRACE [iaxxdlghnd.cpp:180]
    CDialogHandler::doHandleDoc()
    ACTION_OK received
    WARNING 2009-01-09 12:52:33 [iaxxcsihlp.hpp:250]
    main()
    An error occurred during the installation.
    Regadrs
    Vijay

    Hi,
    what do you get executing this statement:
    use <SID>
    go
    select * from sys.objects where schema_id =
    (select schema_id from sys.schemas where name = 'dbo')
    go
    Sven

  • How to determine the object in the tablespace

    Hi
    I have a problem with my database, How can i determine the object in the tablespace
    and how do move old tablespace into new tablespace and how to drop existing tablespace.
    Thanks

    Hi,
    If you want to find for all objects information, you can use dba_segments and filter this against the tablespace name. Once done you can create another tablespace and move the objects from old tablespace to new tablespace. Later you can drop the old tablepspace. You can use the below mention commands also:
    SELECT 'ALTER TABLE '|| table_name ||' MOVE TABLESPACE USERS;'
    FROM user_tables WHERE tablespace_name='MY_TableSpace';
    SELECT 'ALTER INDEX '|| index_name ||' REBUILD TABLESPACE USERS;'
    FROM user_indexes WHERE tablespace_name='MY_TableSpace';
    SELECT 'ALTER TABLE '|| table_name ||' MOVE LOB ('
    || column_name ||') STORE AS (TABLESPACE USERS);'
    FROM user_lobs WHERE tablespace_name='MY_TableSpace';
    On the other hand,
    You can also export a backup of the source tablespace and import into the target tablespace.
    Regards,
    XIC

  • Exporting the object to Quality system

    Hi,
    All
    we have developed some scenarios in Development system working fine.
    we need to Export These scenarios to Quality system  how we can?
    we have create same business system and technical systems in Quality system
    thnks in advanced
    marks is awardble
    regards
    kumar

    Hi ,
    IR -- Just transport the SWCV as a tpz file and import it back in the new environment. After importing, activate the import under the change list and not under the object level.
    ID --
    1. In the SLD , create the Transport Target for the Source Business System.
    2. Export the ID objects and import them in the new environment.
    Now, if you have created the Trasnpost Groups and Trasnport Targets correct, the Business System of the old system will be replaced with the new system.
    Just fill in the communication channel details and then activate the change list.
    also check these..........
    /people/sap.india5/blog/2005/11/03/xi-software-logistics-1-sld-preparation
    /people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview
    /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
    Sekhar

  • A method layout without a target object causes a one-sided reclassificat.

    Dear experts,
    I am from BI background. I have been asked to do a testing in BCS and received the following message when I tried to generate NPAT:
    A method layout without a target object causes a one-sided reclassificat.
    Message no. UCF4008
    Diagnosis
    You have not defined a target object in the method layout.
    System Response
    This method will consequently perform a one-sided reclassification. It will only read records from the database with a posting level not equal to zero and will post them without a document type.
    Procedure
    Select the target object in order to define the method layout for a normal reclassification.
    As a result, NPAT has not been generated, so can you guys help me out to understand what is happening here?
    Thank you.

    I think you are using this reclassification technique for reclassifying Net income and Retained earnings.
    This message normal you get if
    1. If you have executed reclassification task in update mode once and posted NI and RE. or
    2. There is no NI or RE.
    Please let me know if you have any further queries.

  • Determine all objects that a group has been assigned to

    I am trying to determine all objects that a group has been assigned to. For example, I would like to know what communities and portletes a group has been assigned to.
    I can retrieve the information directly from the plumtree database, however, I have not been able to determine how to accomplish this via the api.
    I have tried the following
    IPTObjectManager ptObjMng = ptSession.GetCommunities();
    for(inti = 0; i<3;i++)
    filter[i] = newObject[1];
    filter[0][0] = PT_PROPIDS.PT_PROPID_USERGROUP_GROUPID;
    filter[1][0] = PT_FILTEROPS.PT_FILTEROP_EQ;
    filter[2][0] = 1634; //group id for my group
    IPTQueryResult ptResult = ptObjMng.Query(PT_PROPIDS.PT_PROPID_ALL,-1,PT_PROPIDS.PT_PROPID_NAME,0,-1,filter);
    I have verified that the group has been assigned to the community, however, this query returns no records.
    How can I retrieve all communities or group that a specific group has been assigned too?
    thanks in advance

    This sure would be a handy feature! iTunes has it so that you can easily tell which playlists a song is in. It would be convenient for iPhoto as well.

  • Can there be more than one transport targets for a business system in sld

    Hi All,
    I have a question about transport targets in sld for sap xi 3.0 sp19.
    We have a requirement where a business system needs to have two transport targets.In SLD i see that only one transport target can be assigned. Is there any way to assign more than one transport target to a business system?
    I know that there can be more than one source for a business system where more than one  different business systems have the same business system as the target.
    I am not sure if a business system can have more than one transport target .If yes , what is the way to add more than one ?
    Please help .
    Thanks,
    Padmaja

    Hello,
    I know that there can be more than one source for a business system where more than one different business systems have the same business system as the target.
    As far as I know, you would have to change the target everytime you will transport it to a different target e.g 3 target systems = 3 times you change the transport target in SLD.
    Regards,
    Mark

  • Could not determine BW release of logical system 'BWPCLNT100

    after a BI systemcopy (production to development) we get the following
    error when we run load jobs of type "delta load". full loads work fine
    "Could not determine BW release of logical system 'BWPCLNT100'"
    even if i start the deltaload from the R/3 system with transaction RSA3
    with update mode "C" i get the same error . when i use update mode "F"
    it works fine , but that's not the thing we want.
    BWPCLNT100 is the logical system of the productive system .
    we have changed all the logical system setting to BWDCLNT100 using
    transaction BDLS and we have also changed all entries in RSBASIDOC,
    RSISOSMAP, RSOSFIELDMAP,.... .
    we have done several systemcopies in the past , they all worked fine
    and without this error. this is the first copy in BI 7.00 .
    are there any loadmodules which have to be regenerated with the new logical system name?
    thank you for your help and kind regards hannes toefferl

    Hi,
    As you said you are getting error after system copy when you are doing the delta load and full load is working fine for you.
    This mainly happens due to init disturbance in the source system.
    I would suggest you to delete the init and rerun the Init from BW once again.
    This should solve your problem.
    Thanks
    Mayank

  • Strange behaviour of Removal of Alpha for Info object in Quality system

    Strange behaviour of Removal of Alpha for Info object in Quality system as compared to Development system.
    Hi,
    The data for an info object Key in the DSO was 00000000000000000000000000123. I removed Alpha for the info object and data was corrected to 123 in the DSO in development system.
    Now, when i transported the info object without alpha to quality and loaded data into DSO, the data is still the same with leading zeros.
    I dont want to write routine to remove leading zeros, as I have values as 0. If i write routine, all zeros will be removed and this will be blank.
    Both development and quality have same patches applied and are on same level.
    Why is this strange behaviour in quality system...
    Any inputs?? please suggest.
    Thanks.
    Lavanya

    Hi,
      Did you drop and reload the data after changing the conversion?
    Regards,
    Raghavendra.

  • Production Order Error: "Unable to cast COM object of type 'System.__ComObj

    Hi all,
    I have the following code:
    Dim oProdOrders As SAPbobsCOM.Documents
    oProdOrders = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)
    after the second line I get a system exception: {"Unable to cast COM object of type 'System.__ComObject' to interface type 'SAPbobsCOM.Documents'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A6DA575B-E105-4585-9F4B-50CC4044EEDD}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."}     
    If I change document to eg oQuotations it proceeds normally.
    Any Idea?
    Thanks in advance,
    Vangelis

    try it as
    Dim oProdOrders As SAPbobsCOM.ProductionOrders
    oProdOrders = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)

  • Badi Determine WF-ADMIN as an actual Agent

    Hi frds,
    I m using SRM server 500.
    In shopping cart N level approver workflow, when workflow is finding an actual agent from approver list by BUS4101u2019s NextDynamicApproverGet method it is determining WF-Admin as an actual agent instead of approvers exist in approver List based on index.
    Scenario:
    When vendor is assign as a preferred vendor to the cart; BAdI determine all site purchasing coordinators on approval index one then budget holders on approval index 2 an so on based on the approval limit in approver List.
    First Validation work item is going to all SPC they validate the shopping cart convert the preferred vendor to vendor.
    The cart then by BUS4101u2019s NextDynamicApproverGet method finds the actual agent for index 2. IDEALLY the budget holder should be fetched by this but in my case it is determining WF-ADMIN.
    Kindly suggest the possible reason for this.
    Regards,
    Manish

    Check the validity of the budget user given. Also check the workflow container at the first step to see to check the heirarchy before and if the approval hierarchy has now changed

Maybe you are looking for

  • Relationship Between ECC Customers (Contact Persons) and CRM BP

    Hello, I am new to middleware and need some help with the relationship between ECC customers/contact persons and CRM business partners. We are transferring via bdoc this information from ECC to CRM. Which bdoc types are used when transferring custome

  • List editing display

    hi guys i have few queries 1/ when i put any fied apart some standard field like plant,planner group,oredertype or notification type like iw38,iw28 or 29 or in il03,iho6    i am geting error NO OBJECTS SELECTED   WHAT DOES IT MEAN AND WHY IT COMES 2/

  • Missing Files in albums

    Hi all,   I have just downloaded PSE 10 trial version and find that most of my photos in my albums are marked as missing photos with the little yellow ?  Could someone please tell me why this is so and how can I fix the problem.  I can reconnect each

  • Help loading Elements 4.0

    I've been using Adobe Photoshop Elements 4.0 for years.  I just got a new PC which runs Windows 7.  I tried to load Elements 4.0 but it won't run.  Is there a download available to correct this?  Thanks.

  • HT3275 Sparsebundle already in use?

    Hi I get the following warning "Time Machine couldn't complete the backup to "JAOC Wireless".The backup disk image "/Volumes/James & Anna Treadwell's Ti/Anna's MacBook Air.sparsebundle" is already in use"  Can anyone tell me how to solve this?  Thank