Help about the definition of new task.

Hi,
I can start successfully a Bex Query via FM abap4_call_transaction but I see two queries defining this call:
CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
STARTING NEW TASK 'ZTRX'
EXPORTING
TCODE = 'ZTRX'
EXCEPTIONS
TCODE_INVALID = 1
OTHERS = 2.
My tests:
1) Without defining a specific "task" but referring to a transaction code ZTRX, the call to a FM work correctly but the effect is to start two times the program/report defined for the transaction ZTRX. I have created the transaction ZTRX as copy of RRMX (se93).
2) I tried to definine a "task" (PFTC, PFTC_INS, PFTR, PFTS) but I find some difficulty and I don't know if this step is necessary. Certainly, defining a generic name, the call to a FM don't work correctly.
3) At the last I tried to use:
CALL METHOD cl_reca_gui_services=>call_transaction
          EXPORTING
            id_tcode             = 'ZTRX'
           IF_LEAVE_CURRENT     = ABAP_FALSE
           IF_SKIP_FIRST_SCREEN = ABAP_FALSE
            if_new_external_mode = abap_true
          EXCEPTIONS
            error                = 1
            OTHERS               = 2.
trying to start only one session (as /oZTRX), but I receive un error because the method is not found.
Any help will be appreciated. Thanks in advance.
    Giovanni

Hi Giovanni
It's not very clear your problem, I wrote this simple code and it works fine (not twice running):
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'
  EXPORTING
    TCODE = 'FB03'
  EXCEPTIONS
    TCODE_INVALID = 1
    OTHERS = 2.
Max

Similar Messages

  • Need help about the SHA Message Digest ? & what is use of Message Diagest ?

    need help about the SHA Message Digest ? & what is use of Message Diagest ?
    1>i have one program of making message digest
    2>which requires two files name
    3>one for input like txt
    4> second is out put file of message digest
    can any one tell what is the use of second generated file .

    MessageDigest md = MessageDigest.getInstance("SHA");
    FileInputStream fis = new FileInputStream(args[0]);
    byte[] b = new byte[1024];
    int readed = -1;
    while((readed = fis.read(b)) > 0)
         md.update(b, 0, readed);
    fis.close();
    FileOutputStream fos = new FileOutputStream(args[1]);
    byte[] d = md.digest();
    StringBuffer sb = new StringBuffer();
    for(int i = 0; i < d.length; i++) {
         String str = Integer.toHexString(d[i] & 0xff);
         sb.append(str.length() < 2 ? "0" + str : str);
    fos.write(sb.toString().getBytes());
    fos.close();

  • Question about the Contextual Event from task flow to portlet

    Hello, experts,
    I am studying the webcenter portlet and 11g Task flow. in fact i have tested on the Jdev TP4 about the portlet communication.
    As we know, in 11g ADF task flow, can communicate via contextual events. My issue is if I use the bridge to convert task flows to portlets, How can I still make the contextual event communication works in portlets.. If not what is the best way to keep these converted portlets communicated? (I test it on TP4 but failed.)
    Or I can not do this by task flow way, i need to rebuild my portlet in webcenter and use the portlet parameters in web center to let portlets communicate? Is there way can transfer the inter-taskflow communication to the portlets communication after they are converted to portles via bridge? Can new version 11g webcenter support this?
    Seems very hard, I appreciate your web center development experts can enlight on this.
    Thanks
    Wayne

    Up.. Any expert can answer?

  • Can anybody help about the conditions in CRM business transaction??

    Hi experts,
    I'm fresh on CRM and have several questions regarding the conditions in CRM business transactions.
    Can you please help?Thanks in advance.
    In prciing procedure,we can determin which condition should be involved in item level,
       then,how about the conditions in header level??How and where they can be determind?
       how the condition value can be calculated?I think they should be the collection of the conditions of the items.
    Am I right?
    Thanks.

    Hello Jerry
    Basically you are right,  at header level you should see the collection of the conditions of the items. However there are also conditions that can be entered at header level ( header conditions). You can see more information about these conditions in SD documentation:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/dd/561760545a11d1a7020000e829fd11/frameset.htm
    See sections:
    Header and item conditions
    Distribution Between Header and Items 
    In "Distribution Between Header and Items" you can see how HB00 and RB00 condition types work.  If you create your pricing procedure in CRM ( not downloaded from R3) then you can use 0HB0 and 0RB0, which are the CRM counterparts of HB00 and RB00
    Best Regards
    Luis Rivera

  • Question about the smell of new Apple products (in this case an iMac)

    Hi!
    I wonder what's up with the smell of new Apple products, because they all smell the same in my opinion. I got a new iMac last week and it had a special smell and i know i'm not the only one thinking this. Do Apple add this smell with a perfume to make it smell new and fresh, or is it some dangerous toxic fume from the plasic or something?
    Regards Tobias

    Thank you!
    Of course everything has a smell, especially new things, but in my opinion Apple products have a much stronger smell than everything i ever owned. And as Diane Benoît replied below, see reacted heavily to her old mac (by the way, Diane im glad you don't have problems with your Mac any more).
    I know iMac's are free from brominated flame retardant now, but are there any other flame retardants, or methods to avoid burning electronics, that Apple replaced the old one with?
    I think my Mac have a kind of sweet smell, that is why i wonder if it's added to make it smell nice.
    / Tobias
    Message was edited by: TorBjorn123
    Message was edited by: TorBjorn123

  • Help about the last SRM version and interaction with suppliers

    Hello, I need the confirm that the last SAP SRM versione is the 7.0. Which are the differences between 5.0 and 7.0? Do you have materials about the interaction with suppliers for bids? Thank you!
    Dany

    Hi,
    There are a lot of differences between the SRM 5.0 and SRM 7.0.regarding the Bidding Scenario.
    Infact SRM 7.0 is released with Public Procurement service(PPS)
    The main differences
    SRM 5.0 -tender fees payment and EMD (Earnest Money deposit) is thro' Development
    SRM 7.0 -Tender fess -Payment can be made in SRM thro'Payment Gateway
                 - EMD Fees can also be paid in the SRM 7.0 which is Standard Functionality..
    There are  lot of differnce
    Just Wait for a day or two I will send the difference to your Business Id
    Regards
    G.Ganesh Kumar

  • PS-IM - Help about the sequencie the end of the year.

    Hello Guys about the finalization the module Investment managment (IM) what the sequencie of closed of the year.
    To Projects and orders.
    The best regards

    I have both budget in projects and orders.
    My question is ....
    Wich the steps I need  year - and coling of the release 4.7 to modules Investment managment, projects and orders?

  • About the Service Account related tasks in Process Definition

    Who can explain the function of Service Account Alert/Moved/Changed task in Process Defintion? And when will the task be triggered?I am not very clear about these tasks' function.Thanks!

    Hi,
    I recommend you refer to the following articles:
    http://technet.microsoft.com/en-us/library/bb629601(v=exchg.80).aspx
    Use the Get-AvailabilityConfig cmdlet to retrieve the accounts that are trusted in cross-forest exchange of free/busy information.
    The Get-AvailabilityConfig cmdlet lists the accounts that have permissions to issue proxy availability service requests on an organizational or per-user basis.
    http://technet.microsoft.com/en-us/library/bb125182(v=exchg.141).aspx
    Use the Shell to configure trusted cross-forest availability with a service account
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • PLease Help- About the Apps

    (I pod touch owner)
    I want to downlowed a app on my i-touch
    but i am always seing apps for iphones, where do you fined apps for the thouch
    I want the free apps (for now)
    I am still a new member of apple nation, I dont really know my way through all this, I have been new for about 4 weks now
    so please explain and help'
    please, I need someone with experince and they know what they are talking about
    please and ty
    reply back

    Most of the applications work on your iTouch. Most applications will list which device they work on under the description. You won't be able to use applications that use the iPhones camera.

  • Please help about the limit request

    how to connect the internet for the mobile set 3110 classic
    because iam tried bye the contact provide service vodafone
    also contained the internet service provided with it service
    but massage comminig me tell me not contact or connection with internet
    please help me

    note:
    i am reading the note book about set and working it but wihtout ability
    what i do to connection with internet service

  • Help about the playlist

    Hi! Im very happy about my Zen V MP3 player, but i have a problem...
    Its not a big, but its driving me mad... I don't know how I turn the "random play all" off. Or i think it is that. It's just takes a random song after the first song and up in the right corner it is a "" with two arrows around it. please help!

    You may need to reconfigure your menus to get access to the 'Play Mode' menu.
    Go System->Player Settings->Configure Menu
    You will get a tick list. Make sure the Play Mode is ticked.
    Now press the Back key repeatedly until back at the top level menu.
    Select 'Play Mode' and choose Normal.

  • Seek your help about the issue of Sun JES can not work well in HP9000

    Recently I am testing Sun JES (Java Enerprise System) 2005Q4 in HP9000 (HP-UX 11.11), but I encountered some troubles, after installation, Sun AM -- Access Manager (its old name is Identity Server) and Sun Portal Server can not work well, others (such as Sun App Svr, Directory Svr, Admin Svr) are OK.
    When I try to access AM admin console (http://myhost.mydomain.com:8080/amconsole), exception was thrown as below:
    exception
    javax.servlet.ServletException
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:300)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    java.lang.NoClassDefFoundError
    com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:99)
    com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:242)
    com.iplanet.am.console.base.ConsoleServletBase.checkAuthentication(ConsoleServletBase.java:355)
    com.iplanet.am.console.base.ConsoleServletBase.validateSSOToken(ConsoleServletBase.java:238)
    com.iplanet.am.console.base.ConsoleServletBase.onBeforeRequest(ConsoleServletBase.java:188)
    com.iplanet.jato.ApplicationServletBase.fireBeforeRequestEvent(ApplicationServletBase.java:1105)
    com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:591)
    com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    After many test, I still can not finger out what is the real reasons casued this exception in HP-UX.
    The possible risk is JES 2005Q4 requires some software and hp-ux bundles patches before install JES, but I can NOT find the exact version of them from hp web site, and use corresponding higher version to release them.
    JES 2005Q4 needs:
    Perl (B.5.6.1.F) HP-UX11i
    Tour A.02.02
    Libiconv 1.9.2
    GOLDAPPS11i & GOLDBASE11i (June 2004, B.11.11.0406.5)
    I installed:
    perl_D.5.8.0.G_HP-UX_B.11.11_32+64
    TOUR_B.03.01_HP-UX_B.11.11_32_64
    libiconv-1.11-hppa-11.11
    GOLDQPK11i_B.11.11.0612.459
    I am very appreciated for your help!
    Thanks!!
    Vhu
    ===============
    some test env:
    bash-3.00# uname -a
    HP-UX rp3440 B.11.11 U 9000/800 1110163507 unlimited-user license
    bash-3.00# java -version
    java version "1.5.0.01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.01-_06_jun_2005_05_20)
    Java HotSpot(TM) Server VM (build 1.5.0.01 jinteg:06.06.05-04:39 PA2.0 (aCC_AP), mixed mode)
    JES media:
    java_es_05Q4-ga2-hpux-parisc.zip
    installed components in JES: App Svr, AM, Portal Svr, Directory Svr, Admin Svr.

    This is a double posting, please only post in one discussion at a time.
    Keynote 6.5 is stable and reliable under Yosemite for most users.
    As with all new operating systems and applications, a small number of users find a few problems.
    Copy and pasting text from and into Keynote from all the applications I have, work perfectly: the applications include; Safari, Mail, Word, PowerPoint, excel, Pages, Numbers, iMovie, Photoshop, InDesign, Illustrator.
    If you want to place graphics into Keynote, use one of the following methods:
    Insert > Coose
    click the media button on an image placehoder
    click the media button on the tool bar
    drag and drop from a Finder window
    Copy and pasting images into Keynote is not supported

  • Can I have your help about the software for apple

    can I knew how I can change my security Question for apple account?
    Am waitting your answer........

    Assuming that you don't know your current answer(s), then from http://support.apple.com/kb/HT5665 :
    If you have three security questions and a rescue email address, sign in to My Apple ID and select the “Password and Security” tab to send an email to your rescue email address to reset your security questions and answers.
    If you have one security question and you know your Apple ID password, sign in to My Apple ID and select the “Password and Security” tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password, contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    If you can’t reset them via the above instructions (you won't be able to add a rescue email address until you can answer your questions) then you will need to contact Support in the country where you and your iTunes account are to get the questions reset (these are user-to-user forums).
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Help downloading the applications on new computer

    I can't seem to download the creative cloud applications on my new mac. I have them on my old mac but I though you could have them on 2 computers. The only option I have is to 'try' them. Pls help......

    Refer to this:
    Sign in or activation errors
    For anything else contact support directly.
    Mylenium

  • My ipod touch 2nd generation is stuck at recovery mode when I tried to update from a 3 software to a 4 software. I tried puting it in DFU mode to fix it but a window pops up about  the computer found new hardware and needs a cdrom. What do I do?

    My Ipod is stuck at restore mode, when I downloaded fixrecovery and zlib1, they gave me a file which I can't open iBSS.n72ap. Fixrecovery wanted me to put it in DFU mode and I did but a window from my computer pops up telling me that it found new hardware and wants a CDrom to install. The ipod did not come with a CDrom software. It wont go back, and iTunes does not recongnize it. What should I do?

    Try here.
    iOS: Device not recognized in iTunes for Windows
    I would first try removing and reinstalling all the Apple software using:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

Maybe you are looking for

  • Premiere Elements is not recognizing my file as a "movie"

    I'm using Premiere Elements 9 in Windows 7.  I have several media files on my hard drive that are AVCHD Video (.m2ts).  Each are roughly the same size (about 10GB), they have video and audio, and they play fine in Windows Media Player.  When I add th

  • Error while trying to open the build templates

    Hi All, We installed and configured TFS 2010 demo machine (Single server deployment) Environment details:  OS: Windows Server 2008 R2 Database: SQL Server 2008 R2 TFS: TFS 2010 SharePoint: SharePoint 2010 Client: Visual Studio 2013 ultimate We are tr

  • ICON Change in CRM IBASE Track

    Hi All,    I have CRM IBASE in my current project. I wanted to change the standard icon that is exist for the track to with different icon(Logo). Does anyone have any idea where to change it. Thanks, Antony. Edited by: Antony on Mar 14, 2011 9:53 PM

  • FTP Set Up

    I am on OS X 10.3.9 I would like to set up FTP Services. However, I am having some problems. I have a Lynksys Wireless Router hooked up to my cable modem so my wife's PC can access the internet at home. When I set up the FTP on my mac, it does not of

  • Update 7.0.4 deletes all my music.How to get them back?

    I just updated from iOS 4.3.3 to iOS 7.0.4(Yeah its my first time updating since I updated it).Being aware that some users are having problems with disappearing files I sync my apps and musics and made a backup thrice.I went ahead to install the upda