Set KOKRS for ECATTs using CO-Transactions like KP06

Dear Collegues,
how can i make sure the ECATT i create does set the KOKRS if nessessary for transactions like KP06 for example?
I just did record the KP06 transaction now and defined the paramters as following:
KOKRS     Kostenrechnungskreis          I     KOKRS          C     4     
VERSION     Version               I     VERSN          C     3
PERVON     Periode ab               I     KPLA_PERBL          N     3
PERBIS     Periode bis               I     KPLA_PERBL          N     3
GJAHR     Geschäftsjahr          I     GJAHR          N     4
KOSTL     Kostenstelle               I     KOSTL          C     10     
KOART     Kostenart               I     KSTAR          C     10     
PLANFIX     Geplante Fixkoste          I     WERTV8          P     15     2
VS     Verteilschlüssel          I     SPRED          C     4          
My problem is now, how to set the KOKRS to the value of the import-file, which is including all fields mentioned above within this KP06 ECATT? I just thought about smth. like following:
IF KOKRS = ' '.
  ABAP.
  ENDABAP.
But how to use the values from the importfile here?
Any other more easy solutions for this issue?
Thanks a lot in advance
Best regards
Carsten Klatt
Endif.
  TCD ( KP06 , KP06_RECORD_2 ).

You do not need a separate input file, just use internal variants for the test data in the eCATT test configuration or handle you data for input in external variant files (which have format of csv).
See also the [online help|http://help.sap.com/saphelp_smehp1/helpdata/de/da/f1383fe58d5900e10000000a114084/content.htm].
Kind regards,
Christoph

Similar Messages

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE
    using OMB script without success and I'm a little confused now.
    First of all Scripting Reference does not mention about PREFIX
    property so maybe there is no way to achieve what I want. Consequently
    it would mean that GUI interface is "stronger" than OMB Scripting.
    Secondly I don't understand why when I issue following command in OMB
    Plus:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTY_DEFINITIONS
    I get nothing (empty output, no errors) and when I execute:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTIES
    (STEREOTYPE, IS_ABSTRACT, DESCRIPTION)
    I get:
    class false {}
    First result suggests that there are no properties for DIMENSION_TABLE
    and second proves that there are at least three.
    Is there some type/properties inheritance here?
    Can someone explain me this and tell how can I:
    1. find all valid types (I would like to set prefix for LEVEL,
    LEVEL_ATTRIBUTE, etc. too)
    2. find all properties for these types
    regards
    Tomasz Gajewski

    You misunderstood me. I don't want to rename DIMENSION_TABLE. When creating DIMENSION_TABLE with gui I set NAME and PREFIX for each DIMENSION_TABLE and LEVEL.
    PREFIX for level is used later during deploy to distinguish attributes from different levels.
    Example. If I have a level named LEVEL_NAME with prefix LN and an attribute of it named ID than table generated for this contains column LN_ID.
    When I create DIMENSION_TABLE using OMB Script prefix is set same as name (default behaviour that I can't change) and it is to long to use.
    Scripting Reference doesn't mention about PREFIX property. Should I assume that the only way to change these values are through OWB GUI?
    regards
    Tomasz Gajewski

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • Set Desname for PDF using Oracle Applications

    We are running Oracle Applications 11i, 8i database on a Unix box and use windows 2000, internet explorer, acrobat 6.0 to run, and view the reports.
    I just finished redesigning a Oracle report to output to PDF instead of printing on a preprinted form.
    The user has requested that the output file (Report) be saved to a specific directory on a server that is on the windows platform.
    The report is being run from the concurrent manager inside of Oracle Applications, which seems to be over writing my desname that is specified in my report (rdf). Our current workaround is that the user opens the file in acrobat and save it to the desired directory, which they have to set manually for each session.
    Is there a way to run a report on UNIX and output the report to a windows directory?
    Thanks in advance...

    There is a better workaround than opening an saving on desktop...I have never tried this but have an idea...that would work 100%.
    The standard configuration of apps 11i is that the output file is placed in $APPLCSF/out and its on the Unix Box...but if u have apps running on NT environemnt then just share the file system of $APPLCSF with the desktop...Pretty simple....
    If apps is running on Unix then u need to install software like Samba on Unix so that the desktop will be able to share the file system of unix on desktop....
    Try it out...
    Best of luck

  • HP 6300 all in one can't set up for wireless use

    can't set up for wireless use

    That is because the printer does not support wireless connectivity to a router.  You can with an optional Bluetooth adapter to one computer wireless.  However since this has an Ethernet connection you can connect it to your router via this or you can use the below information to convert your Ethernet wired printer to wireless.
    Connect wireless printer anywhere, convert from wired, bypass failed radio, add WPA2 security.
    http://h30434.www3.hp.com/t5/Printer-Networking-an​d-Wireless/Connect-your-wireless-printer-when-away​...
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Garageband - does it allow for the use of software like "ILIO Origins for EXS/GIGA?"

    I am completely new to the modern world of iOS (just bought a Apple iMac ME089LL/A 27-Inch Desktop), and Garageband, and recording music and such. I've watched enough tutorials now to know that Garageband has virtual instrument libraries. I want to know if Garageband will allow for the use of more sophisticated sounds, specifically those in the ILIO Origins for EXS/GIGA

    I am also baffled. I tried to find this "default Captivate quiz" in the help section of Captivate with no results. When I again contacted the representative, he closed the conversation before speaking with me.
    Thank you for choosing Adobe. A representative will be with you shortly. Your estimated wait time is 0 minute(s) and 4 second(s) or longer as there are 1 customer(s) in line ahead of you.
    You are now chatting with 'Khyati'
    Thank you for chatting with us. Please click the "Close" button on the top right of the chat window to tell us how we did today.
    I have posted the entire correspondence on Adobe Captivate's Facebook page in the hopes that I might get some swift assistance from the company.

  • Why set up table not used in applications like FI, HR etc

    Hi,
    We all know that we use set up tables for LO Cockpit applications.
    But we dont have for non LO applications like HR , FI...why such a difference is made by SAP...
    One of the fellow suggested that for FI, HR etc, there is huge posting of data and so we dont want to store such a duplicate data
    is this the case?
    or there is some other reason...
    please suggest the same
    Thanking You,
    Tarun Brijwani.

    Hi,
    this question has already been asked a few times. Please search the forums for the answer.
    regards
    Siggi

  • Setting permissions for scanner use

    Hello,
    My USB scanner is a Canon Lide 35 and it had been working perfectly in arch. After  a recent update (don't know exactly which because do not use scanner so often), the device is detected and device is set in /dev/bus/usb/005/00x. The problem is that the permissions are not set correctly, I assume by udev?, and my normal user cannot use the scanner because the device remains as owned by root.root and not 0664, group=scanner, as specified in the sane udev rules (/etc/udev/rules.d/53-sane.rules). The rules file is with the new syntax, i.e., ATTRS instead of SYSFS and so forth. My user belongs to the "scanner" group. I have the feeling it is something related with the udev rules but Im not sure what. Here is the relevant line:
    # Canon CanoScan LiDE 35 | Canon CanoScan LiDE 40 | Canon CanoScan LiDE 50
    ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2213", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
    The latest update where kernel stuff and udev stuff were updated resulted in:
    kernel-headers-2.6.24.3-1  udev-119-1...
    Any help greatly appreciated,
    Regards,
    Felipe.

    It appears that udev has problems with rules matching by idVendor when system is up and running but everything is ok if device was online during boot. Please check out this bug http://bugs.archlinux.org/task/9935 and comments. If You have the same problem then please vote for this bug and/or post a comment.
    Thank You.

  • Set Variant for RHINTE00 using RS_CREATE_VARIANT

    HI All,
    I want to set variant only for employee id select option in report RHINTE00 using RS_CREATE_VARIANT. Since there is no direct access to Select Option so how can i achieve it.
    Thanks,
    Shailesh S. Malkar.

    Hi,
    Please reffer below code for implemeting 'RS_CREATE_VARIANT'
    *----- varid
      move sy-mandt             to i_varid-mandt.
      move 'RPCTXFU0'           to i_varid-report.
      move var_name1            to i_varid-variant.
      move sy-uname             to i_varid-ename.
      move sy-datum             to i_varid-edat .
      move sy-uzeit             to i_varid-etime.
      move 'A'                  to i_varid-environmnt.
    *----- varit
      move sy-mandt             to i_varit-mandt.
      move sy-langu             to i_varit-langu.
      move 'RPCTXFU0'           to i_varit-report .
      move var_name1            to i_varit-variant.
      concatenate 'Customer Variant'(o01) var_name1 into i_varit-vtext.
      append  i_varit.
          call function 'RS_CREATE_VARIANT'
             exporting
                  curr_report               = 'RPCTXFU0'
                  curr_variant              = var_name1
                  vari_desc                 = i_varid
             tables
                  vari_contents             = rsparams_tab
                  vari_text                 = i_varit
             exceptions
                  illegal_report_or_variant = 01
                  illegal_variantname       = 02
                  not_authorized            = 03
                  not_executed              = 04
                  report_not_existent       = 05
                  report_not_supplied       = 06
                  variant_exists            = 07
                  variant_locked            = 08
                  others                    = 99.
    Regards,
    Arun

  • Setting name for field NAME4 in transaction FD01/FD02

    Hello,
    in the transaction FD01 or FD02 on the first tabstrip (Address) there are four fields named NAME1, NAME2, NAME3, NAME4. The name of that field is however taken from another place (it is structure ADDR1_KEYW).
    Do you know how to change this name (textlabel) for these fields?
    Thank you very much for your answers
    Vaclav Nemec

    in tr. AOLK and AOLA you can change this.

  • Setting cookies for safari using java

    Dear all
    I am new to cookie programming. Is there some way so that I can set cookies in Safari on Mac.
    I need to set the user's login information in cookie for a particular site then i need to launch that particular website.
    The code samples will better help. Pls help me as i am in urgent need.
    Regards
    Shobhit Jain

    Can you explain what this will do? Is this a type of
    wildcard for all domains?The answer to my question is that you can't do it, and for good reason. There is a security restriction against creating/accessing cookies from unrelated domains (and ".com" won't cut it). So I just did a complete proxy solution and translated all requests and maintained the cookies for the browser.
    I am not sure what setDomain("/") would do - I am pretty sure that is just invalid (but it is a valid path, however).

  • Set level for bookmarks using applescript or javascript

    hi everyone!
    In my indesign document having 3 paragraphs. And set bookmarks of level one by one to these paragraphs.
    Please anyone can help me?
    tell application "adobe indesign cc 2014"
    tell active document
    set selectItem to item 1 of selection
    set textdestinate to make hyperlink text destination with properties {name: selectItem, destination text:item 1 of selection}
    set BknameInnerItem to make new bookmark with properties {destination:textdestinate}
    end tell
    end tell
    --Then,   how to set bookmark level in the hyperlink text destination properties? Is it possible?

    To add a new level, add a bookmark to another bookmark; that will automatically indent it.

  • Table control in Enjoy transactions like FB50/FB60/FB70

    Hi,
    I am using enjoy transactions like FB50/FB60/FB70 which provide me the facility to enter more than one GL Accounts in a very easy manner.
    The screen looks like a table where we can enter the data very easily.
    Now we can hide and display fields in enjoy transactions using the Table Settings button.
    This button is provided at the right most corner of the section where GL accounts can be entered.
    If the curson of the mouse is placed at this button the decription "Configuration" will appear.
    Now when I click on this button and click on Administrator button, I will get the fields which can be made invisible for this transaction.
    This is a user specific setting.
    Now I can see that at the end of the screen explained above, there are certain fields that are not assigned.
    Example, in FB70, the "Fld name" ACGL_ITEM-UZAWE is assigned to Pmt meth.supl. but ACGL_ITEM_GEN-GEN_CHAR1 is not assigned to anything.
    I want to use this field ACGL_ITEM_GEN-GEN_CHAR1 for Reference Key 1.
    Can anyone please guid me how to use this functionality of SAP?
    Thanks in anticipation,
    Nitish

    Hi
    I think the table in which it is updating the data has some constraint ....check the constraints

  • Aironet 1231G for home use

    Hi all
    I've been given an Aironet 1231G that I would like to set up for home use. Has anyone got any example configs for this type of setup that I could take a look at? Nothing too complicated is needed, just something simple and secure.
    Thanks
    Andy

    Since you are new to this, just look at this link. You will need to register, but this will help:
    http://downloads.techrepublic.com.com/download.aspx?&scname=Wireless+LAN&docid=277381

  • Setting Up Price Families using PRFAM

    Hello -
    We are in process of setting up pricing families using SAP transaction PRFAM.  We are brand new to this so I wanted to get some feedback from everyone on what worked, what didn't work, biggest pain points.  
    Also:
    Is there a mass way to upload price families?  The initial set up seems to be very tedious.  
    How does PRFAM handle discontinued items?
    How does PRFAM handle items on promotion?
    How does PRFAM handle items that are on markdown?
    Any feedback would be great.  Thanks for everyone's help!
    Best Regards,
    Mark

    Hi Mark,
    Were you able to find a resolution to this issue? I have the same requirement.
    Can someone please provide some input?
    Thanks,
    D

Maybe you are looking for

  • How to change ipaddress in Solaris 2.6, 7, and 8?

    Hello, Does anyone know what need's to be done before and during the ipaddress change on an E250 running Solaris 2.6,2.7.and 8? Thanks

  • Best way to apply Support Packages to Solution Manager

    We have a single instance dual stack for SOLMAN 4 running. I want to apply Suppot packages, I need some suggestion what would be the best way to do this, the way I am thinking to proceed for this is - 1. Do kernel and igs upgrade thru JSPM 2. Apply A

  • How 'Bout Tiger 10.4 and iBook 800?

    I've seen this posted before, but it's been a while. I was thinking about upgrading. When I talked to the Apple guy at CompUSA, he said that Tiger would probably run slower on my iBook G3, (800mHz, 640MB, 32Vram) than my current Jaguar OS. Who is run

  • Firefox 'Segmentation fault'

    I have been using Firefox since I first got Arch, and after a month or two, it started randomly crashing. I figured it would go away, and things would be fine. But is continued, to the point that I only opened Firefox in the terminal. And when it fin

  • Problems with Windows 7 64bits

    Today we get the new desktops with Windows 7, 64bits, we work with Oracle 10G and Visual Studio 2005, now we get Visual Studio 2008, the problem happends when I compile a solution migrate from 2005 to 2008, the oracle conection dies and I can`t conne