Identify the Source System in CRM BADI

Hi,
I need to write the code in ORDER_SAVE BADI in CRM based on the source system. For example, When i create the quotation in PCUI i need to validate few fields. Suppose i have created quotaton in R/3 and it gets transfer to CRM and i need validate few more fields.
How do i findout in BADI whether the source system is PCUI or R/3? I have checked the SYST table but no difference in both the case. Anyother way to findout this.
Thanks in advance.
Regards,
Bala.c

Hello Bala,
In the ORDERADM_H structure of the CRM_ORDER_READ or in the CRMD_ORDERADM_H table you find a field called LOGICAL_SYSTEM. In that field the RFC destination of the source system (source system = where the order/transaction was created) will be stored.
For PCUI this field will have the RFC destination of the CRM server itself.
For R/3 it will have the RFC destination of the R/3 system.
Hope this helps,
Reward points if useful!
Regards,
Joost

Similar Messages

  • How to Identify the Source System in a Transformation Rule?

    Hi,
       In a 3.x system if I needed to identify the source system, the interface had a parameter SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS. I do not see the same in a Transformation Rule. Can anyone tell me how can I make a decision in my transformation rule depending on the Source System?
        Say for instance I want to change the following Update Rule from a 3.x System to a Transformation in BI7:
    IF SOURCE_SYSTEM = 'ABC'.
       RESULT = 1.
    ELSEIF SOURCE_SYSTEM = 'A11'.
       RESULT = 2.
    ELSEIF SOURCE_SYSTEM = 'AZ1'.
       RESULT = 3.
    ELSE.
       RESULT = 0.
    ENDIF.
      Can anyone help? Points will be rewarded.
    Regards,
    Kazmi.

    Hi Siggi,
       But how would I know the Request ID within a transformation ? REQUID is the key of the table rsbkrequest ? The interface of the transformation method has the following parameters:
      IMPORTING
        request     type rsrequest
        datapackid  type rsdatapid
        SOURCE_FIELDS
       EXPORTING
         RESULT
    So all I can be aware of is the Request Name and the Data Packet Number. For instance when I took your approach, I got the Request Name as "DTPR_8E3VKVN0RJPDNXAKMP0PZJ99B" now I cannot look up with this against the key of the table because REQUID is a number field. Now, if I look up against the field "Data Transfer Process ID (DTP)" I do not find any entry in this table.
       Any more info?
    Regards,
    Thanks.

  • How do you identify the Logical system in start routine of a transformation

    My scenario is this.  I have five r3 systems that I am extracting from.   In the start routine of the transformation from the r3 data source to my data store I  am going to delete data and I need to know the source system id.    How do I identify the logical system or source system id in the transformation.  Is there a system field that contains this information.    I do not want to hard code the source system id in the routine.

    hi
    have a lool at tables rsreqdone and rsbkrequest with a join you should be able to determine the source.
    regards
    Boujema
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).
    Edited by: Boujema Bouhazama on May 9, 2008 12:04 AM

  • Changing the source system in QA

    Hello All,
    I just wanted a quick opinion from your experience on the following issue:
    We  have a ECC Dev client 20 connected to BI Dev client 20
    Similarly we have ECC QA 120 connected to BI QA 120
    But due to some reason we now want to connect a new ECC QA client 150 to BI QA 120 and take out ECC QA 120 totally(120 is wiped off).
    I already have a lot of development transported to BI QA where the source system is ECC 120. Now if 120 dies and we pull the data from 150, what are the pitfalls to watch for?
    Like all my Master data objects , DSO and Cubes still point to ECC QA client 120 but now the "actual" source system is going to be ECC QA 150.
    Points,
    Gaurav

    You need to replicate all the data sources in BI from QA 150 and change the source system assignment to 150 instead of 120.
    Also, you need to reinitilase delta for delta enabled extractors.
    Two  things to watch out:
    1.  If you dont have source system identifier,  then if you happen to get records with same key, then it will overwrite. This applies to both master and transaction data.
    2. For transaction data that is not delta enables, there may be a possibiltiy with which the records will get duplicated. So, better to delete the old requests before reload the data from QA150.
    Ravi Thothadri

  • Change in the source system

    Dear All,
    We have currently BW 3.5 and CRM R/3 server up and running in Production.
    Now CRM server is being upgrade to CRM 7.0 . Now i being the BW consultant needs to find out what is that needs to be done at BW side.
    My idea :-
    1) We first need to create a new Source system and repllicate all the data sources in bw system.
    2) Assign this datasource to the old infosource.
    3) create an infopkg and try loading the data once again to the old cube.
    We can ahieve this in Dev system and then transport the Transfer rules again to BW Production system.
    Can we directly get this done in Production system????
    Kindly add your idea to this list and suggest if we can do this directly in the Productions system without the need to transport the Transfer rule from Deve system.
    Thanks & Regards,
    Anup

    first, temporarily disconnect the source system connection when the upgrade is started...
    after that as you said, please transport the transfer rules from DEV box to production box. it is not advisble to do directly in production box.
    Since the end user is having access to the production box, it is not advisble to open the production box as modifiable and allow to changes.
    Hence we cannot take long down time isnt..? After upgrade is done, please restore the source system connection.
    Better you dont delete the source system of your CRM system in BI.
    Hope this would help you.

  • What is the Source System

    Hi guys
      I am working with SD and MM reporting. My director told me that we (BI guys) need to help other folks they want to use the BI reporting (now they are using another instance of SAP) ,..What does it mean ? Does it mean that kind of Source system (ECC ,CRM,SRM )? Just curious  what kind of SAP instances we can use (replicate) in to BI except the above once
    Please advice
    REgards

    Hi Sam,
    The term “instance” is often used synonymously with “server” or “application server” in the SAP system. This depends on the selected installation environment. You can install multiple instances on one application server.
    An SAP instance defines a group of resources such as memory, work processes and so on, usually in support of a single application server or database server within a client/server environment. Application servers share the same memory areas and are controlled by the same dispatcher process.
    An SAP system can consist of one or more instances, such as an SAP system with a single instance with only one central server or a client/server system with two or more separate instances.
    For more information on instances u can refer following link,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a5e90505211d189550000e829fbbd/content.htm
    Regars,
    Baksh

  • Regarding the Source systems

    Hi,
    Can anyone plz let me know what are the source systems that provide various master data....
    and their Versions also...
    For eg: Customer master -- CRM systems
    Thanks & Regards
    Guna

    Hi Guna,
    I not understood the background of the question however some of source systems with their masters...
    SRM - Suppliers (Vendors)
    CRM - Customers
    ECC or R/3 - All  (HCM - Employees, MM - Materials ....)
    BI - All
    Retail - Products
    Legacy - Anything !
    + An

  • Data Source Z*** is not defined in the source system

    Hello All,
    I am facing a well known problem extracting data from R3 to the BI side. On both sides I've got SAP ALL.
    I created data source on R3 DEV side, tested it and it extracts data. I've replicated metadata on BI side and activated the data source. The problem starts once I create the info package as no data is availble in PSA.
    I went to extractor checker and tried to start the extraction and I could see the message: data source Z**** not defined in the source system.
    I tried to locate the data source through RSA5 and I cannot see that it is availble there.
    Can you please help and advise where the problem is?

    Hi Neb,
    It can be related to many issues, one of them can be RFC connection issue. Please check the link below :-
    Datasource xxx is not defined in the source system
    It might give you some of ideas. Also if possible can you tell what Datasource are you having problem with.
    Regards
    Sunny

  • Error message from the source system

    Hi,
    I'm trying to load 0SD_O03 & 0SD_C03 using fullupload.
    I have data in source system which I checked in RSA3.
    I deleted the init request from the Infopackage.
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Please help!
    Thanks,
    Vish

    I see a shortdump in BW system with runtime error
    MESSAGE_TYPE_X
    The current application program detected a situation which
    should not occur. Therefore, a termination with a short du
    triggered on purpose by the key word MESSAGE (type X).   
    Hi A.H.P,
    It didn't happen to other extractions. I just started with this one. I set up the table in SAP R/3 system and when I tried to do the initial full load in SAP BW, it comes up with the above error.
    Thanks,
    Vish

  • Error message from the source system, Caller 09 contains an error message.

    Hi,
        Guru's, i got an error massage when my process chain is running(Daily) in BIW 7.0, the error got in Data Loading from source to PSA or data targets. The errors having the below details
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.   "
    Can any body help me out of this situation what to do and how to resolv ethe problem.
    Thanks and Regards,.
    Taps....

    Caller 09 is a very common issue - please search the forums before posting....
    Arun

  • Error occurred in the source system

    Hi,
    I am receiving the below error while loading data from APO system
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    ******On further investigating the error message I get the following Diagnosis and Resolution details.*****
    Diagnosis
        The sequence for creating time series in LiveCache is:
        1.  Characteristic value combinations are created which in turn create
            planning object in the system
        2.  The combination of version, planning area, and planning object is
            initialized, creating time series  in LiveCache. This combination is
            so to speak the LiveCache anchor.
        This error occurs if
        o   New characteristic value combinatons have been created for the
            master palnning object structure that is assigned to the planning
            area, but the time series objects were not created.
    System response
         Processing cannot continue.
    Procedure
         There are two methods of creating time series objects for individual
         characteristic value combinations:
             a)  Re-initialize the version without deleting the time series
                 objects beforehand.
             b)  Execute the report program /SAPAPO/TS_LCM_PLOB_DELTA_SYNC.
         In general SAP recommend that when you generate new characteristic value
         combinations, you set the Create time series objects indicator.  This
         prevents this error from occurring.
    Please let me know what I need to do to rectify this error. Please send me the steps to overcome this error.
    Regards,
    Tyson

    Hi tyson,
    Has it run good before? if yes, try to restore the source system.
    by right click on the source system then choose restore.
    It will require you to fill in some information about RFC destination. contact with your basis to have the information about: Target host, Sys no, and Sys ID of your APO system.
    hope it help. Give point if you see its helpful.
    Chuong Hoang

  • RFC destination BW could not be created in the source system R3073

    I'm creating a source system for our BW (version 7.0) dev client.I'm linking it to our R/3 4.7 QA client. From RSA1 I select create source system, I enter the system information and in the next screen I'm prompted to log on as system administrator. I'm in QA now and the system automatically crated the RFC connection. I test the connection and it runs ok. I log on to the BW client from QA and it logs on just fine. When I exit the screen I get the following message:
    RFC destination BW could not be created in the source system message number R3073
    Why is this happening? The connection tests just fine.
    I'm using RFCREMOTE user in BW and ALEREMOTE in QA with the same password
    Any ideas?
    thanks

    Hi,
    I cannot tell you surely the settings for SCC4 now (I can't connect to my sys).
    Nevertheless, create your R3QA RFCDEST manually in your BWDEV with SM59.
    Create your BWDEV RFCDEST manually in your BWQA .
    Perform test and authorization test within SM59 from both sys.
    When creating the source system in BW the system will detect the RFC and ask you if you want to use it; accept an proceed the the rest of the procedure.
    hope this helps...
    Olivier.

  • How to change the source system for just a datasource

    Hi,
    Our test/development BI system ( BI 7.0 Unicode ) is connected to our development system and to our test system, 1 BI system connected to 2 R/3 systems.
    During some time, the test system won't be available so all datasources that point to the test system must be connected to the development system. In RSA1 is not possible to change the source system in a datasource: RSDS 057
    'Creation of DataSources for SAP source system D30CLNT007 is not permitted' , same error trying to copy the datasource,.
    Any idea about how to proceed ?
    Regards,
    Joan

    Hi,
    If I try to repliclate metadata in the datasource, message RSAR 051 appears: 'error when opening an RFC connection'. This error is expected because the logical system pointed in the datasource does not exist.
    Is not possible to change the source system in datasource ( in RSA1 ) because the field is always greyed, also if I try to copy the datasource the message RSDS 057 appears.
    Any idea about how to proceed ?
    Regards,
    Joan

  • InfoSource 8ODS_SLS is not defined in the source system

    Hi Guys,
        When I tried to load data from ODS to Infocube, I am getting the following error.
    “InfoSource 8ODS_SLS is not defined in the source system”
          Source System is not R/3. It is just a flat file and data was uploaded into ODS. When transferring the data from ODS to Infocube, I get this problem. And I have defined the update rules for infocube and also given the infosource name as ODS.
          But the data is not getting uploaded in the Infocube.

    First replicate your BWSELF system.
    Then, Run this program in SE38:
    rs_transtru_activate_all
    Enter the source system (your BW system)
    Enter the datasource (8ODS_SLS).
    If you get an error message immediately, the datasource doesn't exist. If it runs, check and make sure you get no error messages.
    /smw

  • Error Infosource is not defined in the source system

    I am extracting data into ODS. It was running perfectly till now. But today i am getting this error.and for all packages i run. whether it is transaction data or master data.
    I replicated the DataSource and activated all the objects and transfer structure.but still getting the same error.
    I even created a new DataSource and infosource but still the error persists. please help me in this matter.
    Thanks

    the data is extracted from BW system itself (Self System).
    there are three tables linked to each other.I have created an infoset query and creted datasource on that infoset query.
    the source system is the same bw system.
    The detailed error report is -
    InfoSource  is not defined in the source system.
    Message no. R3005 
    Diagnosis
    The InfoSource  specified in the data request, is not defined in the source system.
    System response
    The data transfer is terminated.
    Procedure
    In the Administrator Workbench of the Business Information Warehouse, update the metadata for this source system, and delete the InfoPackages belonging to InfoSources that no longer existing .

Maybe you are looking for

  • Shrinking ASM disk

    I just tried to resize an ASM disk and although the feedback was 'successful', there doesn't appear to have been any change. I was attempting to shrink disk DATA_0001 from 200G to 100G. Am I missing something obvious? SQL> select group_number, name,

  • Mitfahren in After Effects

    Hallo Wie macht man so was in After Effects am Besten: Habe mit Illustrator ein Auto gezeichnet da soll auch etwa 1 Minute lang im Video fahren. Der Hintergrund fährt natürlich auch mit. Verschiebt man jetzt den Hintergrund "Position" von ganz links

  • Problem with mailing Groups from Address book

    I have been using Groups in my address book for a while - adding people to Groups and using the Group name to email them all at once.  Recently (since turning on iCloud, though I don't know if that is the cause) I am finding the following problem.  I

  • Regarding the Aggregation in  Query

    hi, Is anybody have idea how I can show only the overall result of the query output in the excel . Is there any way out such that we can publish only the overall result in the portal instead all the contents of the query output of EXcel.

  • How to Rank

    How can we set up a question to rank multiple options in order of importance?