ECATT: Dynamic target system for pattern REF possible?

Hello
I am using eCATT on a Solution Manager (NetWeaver 700). I have to run the test scripts on several different SAP systems.
Therefore, I would like to know whether it is possible to set the target system within the pattern <b>REF </b>(<i>executes another eCATT test script, either on local or remote system</i>) <b><i>dynamically</i></b>?
Definite proof that this is <b>not </b>possible is also welcome.
I am aware that I can replace the REF pattern by a corresponding ABAP...ENDABAP coding, e.g.:
FUN ( BAPI_USER_EXISTENCE_CHECK , BAPI_USER_EXISTENCE_CHECK_1, <target_system> ).
Replace by:
ld_rfcdest = id_rfcdest.
ABAP.
  CLEAR: ls_return.
  CALL FUNCTION 'BAPI_USER_EXISTENCE_CHECK'
    DESTINATION ld_rfcdest
    EXPORTING
      username = id_username
    IMPORTING
      return      = ls_return.
" NOTE: Not necessary to handle RFC exceptions -> done by eCATT framework
ENDABAP.
" evaluate ls_return...
However, I would prefer - if possible - to use the REF pattern.
Regards,
   Uwe

Hello
In case you may need this functionality here is (one possible) solution.
The testscript <b>ZUS_SDN_ECATT_DYNAMIC_TARGET</b> calls testscript ZUS_SDN_LOGICAL_SYSTEM_GET dynamically on different target systems.
Testscript ZUS_SDN_ECATT_DYNAMIC_TARGET:
*ECSC     Test Script
*ECTD     Test Data Container
*ECSD     System Data Container
*ECTC     Test Configuration
ls_execute = is_execute.
ABAP.
  APPEND ls_execute TO lt_execute.
ENDABAP.
et_execute = lt_execute.
FUN ( ECATT_EXECUTE , ECATT_EXECUTE_1 ).
CHEVAR( &EXCEPTION = ' ' ).
EXIT( &EXCEPTION <> ' ' ).
**FUN ( ECATT_LOG_DISPLAY , ECATT_LOG_DISPLAY_1 ).
The funny part of this script is the <b>FUN </b>pattern where I call function module <b>ECATT_EXECUTE</b> which is used to execute testscripts (or test configurations). As IMPORTING parameter we have a structure <b>START_PROFIL </b>where we can set the <b>SYSTEMDATA</b> (container) and the <b>TARGETSYSTEM</b>.
Hopefully I will find the time to explain this testscript and its possible use and implications in more detail in a blog.
Regards,
  Uwe

Similar Messages

  • Can the target system in the REF command dynamically be specified?

    Hello all,
    I have a main script which calls additional other scripts in different target systems (according to a defined system landscape). So far so good. Now when I have another system landscape in place, it's very likely that I have to handle other target systems.
    With the REF command I can call these other eCatt scripts but how can I dynamically specify the target system? According to the eCatt team this is not possible. Does anyone of you have an idea how I can have a workaround? Is there a BADI / Userexit etc. which I can use?
    I want to avoid to work with version, because I would duplicate the script. When you maintain one place you also have to remember the other versions you have.
    Kind regards,
    Thomas

    Hi Thomas,
    >Now when I have another system landscape in place, it's very likely that I have to handle other target systems.
    I suggest to keep the target system at the REF command (since that anyway should have a name which qualifies the role of your system instead of system name, e.g. ERP or CRM or SCM ).
    To change the landscape you can exchange what makes up the landscape: your system data container.
    Sample:
    1) SCRIPT "Scenario" call SCRIPT "Create_Order" in system CS1 which is CRM system
    2) SCRIPT "Scenario" call SCRIPT "Check_Replicated_Order" in system ER1 which would be ERP system
    As long as you are about to code the scripts:
    - Have a system data container SD_DEV
    - Define system CRM with rfc-destination to CS1 and ERP with rfc to ER1
    - In your scripts only use the terms ERP and CRM
    -> REF ( Create_Order, CRM ).
    -> REF ( Check_Replicated_Order , ERP ).
    Once you come to test another landscape:
    - Simple copy SDC SD_DEV to SD_TEST_LANDSCAPE1
    - Exchange only the rfc destinations to have ERP and CRM point to new systems
      (don't modify the existing destination, since you will need them still)
    Now start your Script "Scenario" with System data container SD_TEST_LANDSCAPE1 on start screen or even assign the system data container name in Test organizer at test package level.
    This is the way you can switch landscapes very easily. It only requires to use logical target system names from the beginning.
    Hope this helps or at least starts a discussion about it.
    Best regards
    Jens

  • The DataSource ZGLOBAL_SPND still has no target system for the delta update

    Dear Experts,
    I have created a Generic Datasource, while checking records in rsa3 iam getting below error.
    Error: The DataSource ZGLOBAL_SPND still has no target system for the delta update.
    Source system is already created.
    For some of the datasources iam getting this msg.
    regards
    KV

    Hi,
    Fisrst did u enabled the Delta for Generic.If yes, the in RSA3 select Update Mode as "D" then provide the BI Trget system and execute.
    If you correct Target system and update mode D then it should fetch Delta records only...If not please write to SAP about this issue.
    Regards
    Ram.

  • CHARM error - No Target system for Normal transport generated from another client

    Hi Gurus,
    This is regarding normal change. We have two clients in development. (Workbench and Customizing)
    We were trying to do Automatic import from development client to Quality. When importing the job, I’m getting an error related to Project Status switch. "you cannot import any request for the project at the moment" It works fine for another development client and we can see the target system in Project status switch.
    But, checking the Project Status switch, looks like there’s no Target System defined for Normal transport generated from another client of development.
    I attached some screenshots related to this.
    Can you please help how to add a target system for another client of development ?
    Regards,
    Salman

    yes, client 110 is present in the task list of the project. yes route is defined because it is working for urgent change

  • Error in RSA3 - no target system for the delta update

    Hi friends,
    I have created one datasource but in RSA3 when i press F4 at target system it gives me msg like "The DataSource V_BW_DPP still has no target system for the delta update" what could be the reason? kindly help me.
    Regards
    Suyash

    Hi Suyash,
    First check whether the BW system is connected to R/3 or not by Right click on Source system in RSA1 and selecting the option Check.
    Also What is the update mode you have chosen in RSA3?. Is it full ( F ) or Delta (D) . If you have chosen delta then you  check in RSA7 whether the data source V_BW_DPP is appearing or not . If it is not appearing in RSA7 do init upload in BW system for the data source and then check in RSA3.
    Regards,
    Prakash

  • MCW_AA111 System not a valid BW target system for analytical applications

    Dear Gurus,
    Our project would like to use retail allocation strategy with reference to SAP BW, such as
    Quotas based on SAP BW data
    Top down (SAP BW)
    Bottom up (SAP BW)
    To retract the data from BW, we go to the configuration of Data Retraction for Retail/CP. (T-CODE: MCW_AA).
    In the Maintenance of Queries for Analytical Applications, we wanted to add a new entry in the query list. We can find the Target Sys. But when we tried the input help(F4) of the Analyt. Appl. Query., the msg: "MCW_AA111:System is not a valid BW target system for analytical applications" prompt out.
    RFC connection has already been established between SAP-retail and BW.
    Does anybody have any clue?
    Thank you.
    Alex.

    hi Kevin,
    check if helps following oss note
    Note 983449 - Termin A122 1COLUMN no valid characteristic of infoprovider
    Symptom
    Termination A 122 Brain occurs when you test and generate a query. The system does not recognise the characteristic 1COLUMN.
    Other terms
    Query, condition, COB_PRO
    Reason and Prerequisites
    This problem is caused by a program error.
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 10 for SAP NetWeaver 2004s BI (BI Patch 10 or SAPKW70010) into your BI system. The Support Package is available once Note 914304 "SAPBINews BI 7.0 Support Package 10", which describes this Support Package in more detail, has been released for customers.
    In urgent cases, you can implement the correction instructions.
    You must first implement Notes 932065, 935140, 948389, 964580 and 969846, which provide information about transaction SNOTE. Otherwise, problems and syntax errors may occur when you deimplement some notes.

  • How to create empty text file on target system for empty source text file

    Hi All,
    I have an issue in handling empty file in the Text (FCC) to Text (FCC) file scenario. Interface picks text file and delivers on target system as text file. I have used FCC in both sender and receiver CCs.
    Interface is working fine if the source file is not empty. If the source text file is empty (zero Bytes), interface has to delivery an empty text file on target system.  I have setup empty file handling options correctly on both CCs.
    But when I tried with an empty file I am getting the error message 'Parsing an empty source. Root element expected!'.
    Could you please suggest me what I need to do to create an empty text file on target system from empty source text file?
    Thanks in Advance....
    Regards
    Sreeni

    >
    Sreenivasulu Reddy jonnavarapu wrote:
    > Hi All,
    >
    > I have an issue in handling empty file in the Text (FCC) to Text (FCC) file scenario. Interface picks text file and delivers on target system as text file. I have used FCC in both sender and receiver CCs.
    > Interface is working fine if the source file is not empty. If the source text file is empty (zero Bytes), interface has to delivery an empty text file on target system.  I have setup empty file handling options correctly on both CCs.
    >
    > But when I tried with an empty file I am getting the error message 'Parsing an empty source. Root element expected!'.
    >
    > Could you please suggest me what I need to do to create an empty text file on target system from empty source text file?
    >
    > Thanks in Advance....
    >
    > Regards
    > Sreeni
    the problem is that when there is an empty file there is no XML for parsing available. Hence in case you are using a mapping it will fail.
    What ideally you should do is to have a module that will check if the file is empty and if so write out an XML as you want with no values in the content/fields.
    Or the next choice would be to have a java mapping to handle this requirement. I guess that on an empty file the java mapping will go to an exception which you can handle to write out your logic/processing

  • Defining SLD Target Systems for DEV, QAS & PRD

    In a 3 tier XI landscape (DEV, QAS, PRD) which of the following two scenarios is best?
    1. In the SLD define each DEV Business System with a target of the corresponding QAS Business System and define each QAS Business System with a target of the corresponding PRD Business System.
    DEV ---> QAS ---> PRD
    This means that we export ID objects from DEV and then import them into QAS. The objects then need to be exported from QAS for import into PRD
    2. In the SLD define the DEV Business Systems with 2 target systems relating to corresponding QAS and PRD Business Systems.
    DEV --> QAS
    DEV --> PRD
    This means that the same export from DEV can be used for import to both QAS and PRD.
    Currently we have scenario 1 implemented but I am thinking of changing this to scenario 2 which I believe is a better solution as only one export is required and it is guaranteed that the same objects are being imported into QAS and PRD.
    Any thoughts or comments?

    Hi Mark,
    I dont think thats a good thing to go with. When you are exporting, how are you going to control in CMS as to which environment you are going to export?
    CMS itslef works on the principle of Develop->QA->PRD. This way, when you are in QA and found some bugs and fix them, you can export them all to QA. Finally you assemble them at QA and finally import them to PRD. This way, all the chaged objects later on would also get imported to PRD automatically.
    Also As per my knowledge, in SLD, one target bus sys can have mulitple sources but the converse is not true.
    VJ

  • Changing Original System and Transport Target System for Objects

    Hi Gurus,
             I need to do mass transport of all the Infoobjects to newly defined system. Since these objects have different Original system. Its giving me error. Again, for other objects, Transport Target system is QAS, But we want to change it to NBW (A new system to which we want to send transport) . I am able to change package of Infoobjects. Is there mechanism to change Original System and Transport Target for System? Please let me know ASAP.
    Regards,
    Harpal
    Message was edited by:
            Harpalsinh Gohil

    If you simply edit your original post, it will go to the top of the list. There's no need to post duplicates.
    Subjects with a subject of "Urgent" will be filtered out by a lot of responders.
    Why not close this thread and bump the other one?
    Rob

  • Error when executing FM in Target System for File to RFC flow

    Hi,
    I am doing File to RFC. I have given Dialog User(my user) login details in RFC reciver Comm Channel for Testing purpose.
    I am getting the below error.
    Receiver channel 'CC_P1EUNL_WRAPPER_RFC_Rcv' for party '', service 'INTEGRATION_SERVER_PID' (internal name 'RfcClient[CC_P1EUNL_WRAPPER_RFC_Rcv]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=001, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=iroy_adm, jco.client.sysnr=15, jco.client.ashost=pmichsappid01.app.pmi}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=001, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=iroy_adm, jco.client.sysnr=15, jco.client.ashost=pmichsappid01.app.pmi}
    Current pool size: 0, maximum pool size : 1.
    The message is showing as successfull but at node, its showing the above Message.
    Let me know what could be the Problem.
    Regards,
    Varun

    hi,
    this is not an error - it's just RFC details message
    Regards,
    Michal Krawczyk

  • Target system(Destination) for RFC call ?

    Need some help in calling an RFC for xi interface.
    For triggering the data in to xi , RFC needs to be called. This RFC can be called using an ABAP Program / report . BUT inorder to call that RFC a Destination / Target system needs to be defined . Even though RFC destinations can be managed by transaction SM59 what will be the target system for calling this RFC in a generic sense?
    Like what destination i should be expecting this code : ?
    REPORT  Z_TEST.
    CALL FUNCTION 'ZFunctest' destination ????
    Please suggest
    Krishna

    Yes i now understand the scenario : well is this statment correct ?
    When we say like this :
    CALL Function 'ZTEST' Destination SIDCLNT015
    does this mean ZTEST should be there in destination system ? which means the RFC i am writing should be there on xi systems whose system id is SID ?
    As i heard some where that ZTEST should be there on targetsystem i call for ?
    Please suggest
    Krishna

  • Getting User Accounts on Target Systems.

    Hi All,
    I want to get the user account info on the target system for an OIM user. I am trying to find the tables in which this info is stored. But as each target resource will have its own table for storing their respective user account information, so getting this result in a query for a user will not be possible.(Getting the target account info for all traget resources for that user.)
    Can anyone suggest me a Thor API for getting this info.
    TIA,
    Andy

    Thnx Kevin,
    But as each resource has it own table to store their respective user accounts information. So how we can join these tables dynamically?. Can you just let me know the tables I can refer in the OIM DB. I have used so far ORC, OIU and OST tables for fetching the resource info. But any of these tables doe not contain the user account info on that particular resource. Any sample will be helpful...
    TIA,
    ANdy

  • SOAP adapter and dynamic target URL

    My scenario: synchronous communication ABAP Proxy <=> XI <=> External WebServices.
    There is a need to have configurable (dynamic) target URL for SOAP Adapter. This target should be configurable from ABAP Proxy. Any idea how can I achieve my goal?
    Some additional notes why I need configurable target URL. I've multiple WebService instances which has identical interfaces and the only difference is target URL. I see no need to define for each webservice different SOAP Adapter. The other thing is that customer want to have configuration of destination (target) url on backend system (where ABAP Proxy is used).

    Check http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm
    It's possible to set the URL for Soap dynamically.
    To process adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator and the Variable Transport Binding indicator.
    You can evaluate the following attributes in the message header:
    Description: You can set the entire URL.
    Technical name: TServerLocation

  • Dynamic where clause for MULTIPLE values

    In the following of dynamic where clause?
    i have some somewhat different problem.
    Is a dynamic where clause for multiple values possible?
    If the inputvariable varCode1,varCode2,varCode3,varCode4 are 0 then show all id's otherwise filter the resultset on var1 and/or var2,and/or var3,and/or var4.
    Example table:
    create table t
    (d int,var int);
    insert into t values (1 ,1 );
    insert into t values (2 ,1 );
    insert into t values (3 ,2 );
    insert into t values (4 ,3 );
    insert into t values (5 ,4 );
    insert into t values (6 ,4 );
    insert into t values (7 ,4 );
    insert into t values (8 ,4 );
    insert into t values (9 ,5 );
    insert into t values (10, 6);
    insert into t values (11, 6);
    So what i want to change the where clause upon the value of the varCodes. If var1 and var are not 0 a "AND" should be used otherwise an "OR"
    select id
    from tst
    where var = DECODE( :varCode1, 0, var, :varCode1)
    or/and(?) DECODE( :varCode2, 0, var, :varCode2)
    or DECODE( :varCode3, 0, var, :varCode3)
    or DECODE( :varCode4, 0, var, :varCode4)

    Please turn off your Caps Lock
    and try this link
    Dynamic WHERE clause

  • Term of payment does not exist in target system

    Hi Gurus,
    Scenario: Classic, Self service procurment.
    I made a shopping cart with my requirements.
    PR and PO created in the backend system.
    Posted the GR in SRM....and got the message of posted in the backend.
    Posted the invoice in the SRM and message creation completed and found that it has not been posted in the backend (checked the PO history).
    The message found in SRM SLG1...."Term of payment does not exist in target system" for that.
    Checked the vendor conditions and found that terms of payment exist in the backend system for that vendor.
    What could be the problem and how to resolve this issue?
    Thanks in advance
    SG
    Message was edited by:
            SRMGUY

    Hi,
    I am new to SRM.
    We have created new payment term in ECC and replicated to SRM using BBP_UPLOAD_PAYMENT_TERMS. We are able to see in table BBP_PAYTERM and BBP_PAYMENT_TEXT.
    But the non of the payment terms are reflecting into PO in SRM after this.
    I am able to see the payment term in backend in BBP_PD. I am getting the below warning message when I click on Check Button.
    'Term of payment does not exist in the target system'.
    What could be the problem and how to resolve it?
    Thanks in advance.
    Best Regards,
    Siddappa

Maybe you are looking for

  • Structure inDesign document and export as XML for use in the web

    Hello everyone, I just recently started using inDesign and I am fascinated by its possibilities! I use it for a project where a finished inDesign layout that is used for a printed publication is now supposed to be transformed for implementing it on a

  • I've lost my calendar icon, how do I get it back?

    Have an iphone 5C connected to my yahoo account.  I still can view my email, but no longer have a calendar icon.  Do I need to delete my yahoo account and then re-add it in order to get the calendar icon back?  Any help would be appreciated....

  • How do get rid of this webkit2webprocess file eating up memory and crashing my browser every time

    This file is definitely bugging me I have tried everything but every time this file starts eating up memory and slowing down the computer isthere a solution for this we have the i5 coming out nowbut this has been constantly nagging and isee somany is

  • Tune Outer Join query..

    Hi, I have a query like this: select distinct a.request_id,a.request_name,b.request_dates from request_master a, request_detail b where a.request_id = b.request_id(+)In the above query, request_master is the master table whic contains single request

  • Sharing Preference Pane loading up REALLY slow, beach ball

    I'm getting this message in the Console Log: System Preferences[431] ### Error:268435460 File:/SourceCache/SharingPref/SharingPref-106/FileSharing.m Line:348 The Sharing Pane will keep on beach balling, for a couple minutes, then when it loads, if I