Call transacion

Hi,
I am using call transaction 'VF01'  inside a loop in my apab program. I suspect whether that is reducing the execution speed.
Is there any better way of doing this ?
regards
Balaji

Hi.
Yes there is. Use the BAPI_BILLINGDOC_CREATE to create the billing documents.
Reward points if helps.
Regards,
George

Similar Messages

  • Call Transacion from my WebDynpro.

    Hi.
    How I can to call a transaction from my Webdynpro?. I've a URL Link and when I push the link, i want to open a new window with a transaction.
    Thanks.
    Message was edited by:
            Guillermo Moreno

    From the portal you start a transaction IVIEW, so that the gui is connected to SAP.
    your WDA component can then simply use this the code below.
    See instructions in prior post on how to create a start WDA in GUI transaction.
    method ONACTIONCALL_TRAN .
    data: lo_gui   TYPE REF TO CL_WDR_SAPGUI_INTEGRATION2.
      DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
      lo_COMPONENTCONTROLLER =   wd_this->get_componentcontroller_ctr( ).
        DATA lo_api_componentcontroller TYPE REF TO if_wd_component.
        lo_api_componentcontroller = lo_componentcontroller->wd_get_api( ).
    CALL METHOD lo_api_componentcontroller->GET_SAPGUI_MANAGER
      RECEIVING
        RESULT = lo_gui   .
    * now to call transaction 'SE37'.
    lo_gui->fire_start_transaction( transaction = 'SE37'  ).
    endmethod.
    regards
    Phil.

  • Is it possible to change user in call transaction ??

    Hi experts,
    There is a custom RFC FM wich makes some call transacion (for example to ME21N) and is invoked from .NET. The user logged in that moment is 'USER1' but the client wants user 'USER2' to appear in standard tables (EKKO...) and in ME23N. It's not possible that the client loggs on with USER2 as he needs the password and we don't like to share it whith them.
    I found this:
    l_Fecha = sy-datum - 1.
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client   = sy-mandt
          group    = 'maria'
          user     = 'USER2'
          keep     = space
          holddate = l_fecha.
    (code for the batch input)
      CALL TRANSACTION 'ME21N' USING i_bdcdata
                               MODE w_mode  UPDATE 'S'
                               MESSAGES INTO i_messtab.
      CALL FUNCTION 'BDC_CLOSE_GROUP'.
      SUBMIT rsbdcsub
      WITH bis = sy-datum
      WITH fehler = space
      WITH logall = space
      WITH mappe = 'maria'
      WITH von = sy-datum
      WITH z_verarb = 'X'
      EXPORTING LIST TO MEMORY
      AND RETURN.
    But when the PO is created, the user is still USER1.
    Is it possible to change the user at any moment ??
    Thanks in advance !!
    Regards,
    Marí

    Hi
    You are using ME21n which is and  ENJOY transaction.
    To update ENJOY Transactions use BAPIs instead of BDC.
    because ENJOY transactions are built on control framework which use ActiveX controls (like Grid).
    These new transactions should make life for the end user a bit easier, since SAP transactions not always accelerate in design, logic, etc. That's why SAP has introduced these new transactions which in the end, will have the same result. In these socalled 'Enjoy' transactions, SAP started using these 'new' enjoy sap controls like ALV grid, text editor, HTML viewer etc.
    For 'updating' Enjoy transaction (BTW: You are NOT updating the transactions, but rather the purchase order or whatever) you will have to use BAPI's (or FM for that matter) in stead of BDC since Enjoy Controls work with a different framework in which you can not call a certain screen and field. Like in an ALV grid, not every field has it's own screen field name. So you cannot use them in BDC.
    Hope this makes any sense for your question. As BDC is not reliable for your tcode.
    Thanks DP

  • Transaction call with parameters

    Hello experts,
    I'm trying to call a transaction out of my Web Dynpro ABAP application. An existing Thread (Call Transacion from my WebDynpro.) describes, how this can be done (and it works just fine).
    To fully achieve my requirement, I have to pass parameters to the called transaction. The FIRE method of class CL_WDR_SAPGUI_INTEGRATION2, that is used in the afore mentioned thread, has a parameter called PARAMETERS of type WDR_NAME_VALUE_LIST. I tried to fill this parameter with a simple key - value pair, but the called transaction does not respond to the parameter.
    Is this approach basically correct?
    If yes: What am I doing wrong?
    If no: Is there an alternate way, to start an other transaction out of a Web Dynpro ABAP application, except ITS (ITS doesn't fully meet our requirements)?
    Thanks.
    Helmut

    Actually the solution mentioned in the linked thread is no longer supported by SAP.  We arent' going to support any direct SAPGUI/Web Dynpro ABAP integration and classes like CL_WDR_SAPGUI_INTEGRATION2 are being marked as obsolete and will be removed in the future.
    See OSS Note 989286 and also this section of the online help:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm
    Classes and interfaces beginning with CL_WDR_ or IF_WDR_ have not been released. These classes are not contained in the package interface and they can change without prior notice. Furthermore, there may be side effects from calling these internal class methods.
    Why not use the ITS?  Or better yet portal based navigation APIs.  You can build the ITS URL directly.  WIth the Portal Based Navgiation APIs, you might be navigating within the NetWeaver Portal to the ITS based iView, but with the NetWeaver Business Client you can use the Portal Navigation APIs to navigate to a SAPGUI for Windows based transaction.
    More on the Portal APIs:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/27/96b9c8f14e7d498b90a674710dc9c2/frameset.htm

  • Batch input with customer fields

    I have to create a batch input process that post documents through FB01L.
    As the lines of each document have been added customer fields, when I tried to go from one line of the document to the following one, a screen appears when I have to introduce some data (two of the fields are mandatory). I had solved these issue by ending with a "Call Transaction" with option "No batch input" = 'X'. This way, these customer fields appear directly in the screen, and not in a popup screen, so the batch input process was very easy.
    But, I have been told that I don't have to use "Call transacion", I have to create a session, and the user will post the document by launching it in SM35. This way, even adding "No batch input" = 'X' in the options of "BDC_INSERT", the popup screen appears when running the session.
    So, is there any way of running the session in SM35 with the option "No batch input"? If it's not possible, which is the best option of dealing with these popup screens? I have been able to go from one dynpro to another, and to open that popup screen, but I can't fill the mandatory fields.
    I hope you understand my problem, please excuse my English.

    Hi ,
    Go to the T code Mass , put the object as KNA1 for customers .
    Execute the same and you will find all the option available for making mass changes .
    In case if your requirement does not meet here then you will have to go for a LSMW .
    Regards ,
    Dewang T

  • Accessing an SAP T-Code from WDA

    Hi all
    I need to call an SAP T-Code from my WebDynpro. I tried it on a button click.But while I am trying to do that its giving me an error "Access via 'NULL' object reference not possible". Its because l_sapgui_manager is not getting the value. Why is it so?
    This is the code that I have used,
      data l_componentcontroller type ref to ig_componentcontroller .
      data l_api_componentcontroller type ref to if_wd_component.
      data l_sapgui_manager type ref to cl_wdr_sapgui_integration.
      l_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_api_componentcontroller = l_componentcontroller->wd_get_api( ).
      l_sapgui_manager = l_api_componentcontroller->get_sapgui_manager( ).
    if l_sapgui_manager is not initial.
        l_sapgui_manager->fire_start_transaction(
        exporting
                   transaction =  item_tcode' ).
      endif.
    Is there any other option through which I can access T-Code from WDA.
    Please help me with solutions.
    Thanks In Advance
    Athu

    Hi, Athulya,
    You can only use SAPGUI Manager when you are executing your wda application from within SAPGUI:
    Calling R/3 Transaction from WDA
    Call Transacion from my WebDynpro.
    Hope this helps!
    Andre

  • How to call MSC2N  in QA11 transacion before saving the data of QA11

    I need to call MSC2N in the QA11 transaction because i want the Next inspection date for the particular  material, plant, and batch. but while iam in QA11 the batch is locked so it will not allow me to go to MSC2N. So to see Next inspection date i have to come out of QA11 and then go to MSC2N to get corresponding Next inspection date.
    <b>To avoid this i want that in QA11 i should call MSC2N. or how to unlock batch so that i can go to MSC2N while iam in QA11.......is it possible</b>
    Pls provide me suggestion.
    <u><i>     (URGENT rewards for any given needul suggestion..............)</i></u><b></b>

    Check user exit available for it
    Transaction Code - QA11                     Record usage decision
    Exit Name           Description
    QSS10001            Possibility of calling a different print report
    QEVA0004            Exit for changing information line in usage decision header
    QEVA0005            User subscreen for displaying add. data for usage decision
    QEVA0006            Entry to usage decision transactions
    QEVA0007            UD: Control of compulsory comment or long text presetting
    QEVA0008            Usage decision: Customer function key (e.g. to cancel UD)
    QEVA0009            UD: Predefinition of quantity to be posted to sample stock
    QEVA0010            UD: Usage decision check
    QLCO0001            QM: Call alternative costs report from UD
    No of Exits:          9
    Rewards if useful...................
    Minal

  • FM to call Document Template

    Hi!
      I have a document template created in the SPRO > CRM > Basic Function > Content Management > Define Document Templates.
      Is there any FM to call this document template?
      Kindly advise.
    regards
    Ginnie

    Hello Ginnie,
    IMG(Menu:additional info>additional info>Display Key-->Img activity)
    Run functional Module S_CUS_IMG_ACTIVITY_READ. The exported header contains the transacion which is called by the IMG activity.
    regards,
    Muralidhar Prasad.C

  • Error while calling a method on Bean (EJB 3.0)

    I am getting an error while calling a method on EJB. I am using EJB3.0 and my bean is getting properly deployed(i am sure b'cos i can see the successfullly deployed message). Can any body help me
    Error is -->
    Error while destroying resource :An I/O error has occured while flushing the output - Exception: java.io.IOException: An established connection was aborted by the software in your host machine
    Stack Trace:
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at com.sun.enterprise.server.ss.provider.ASOutputStream.write(ASOutputStream.java:138)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at org.postgresql.PG_Stream.flush(PG_Stream.java:352)
    at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:159)
    at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:70)
    at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482)
    at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
    at org.postgresql.jdbc1.AbstractJdbc1Connection.rollback(AbstractJdbc1Connection.java:1031)
    at org.postgresql.jdbc2.optional.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:223)
    at $Proxy34.close(Unknown Source)
    at com.sun.gjc.spi.ManagedConnection.destroy(ManagedConnection.java:274)
    at com.sun.enterprise.resource.LocalTxConnectorAllocator.destroyResource(LocalTxConnectorAllocator.java:103)
    at com.sun.enterprise.resource.AbstractResourcePool.destroyResource(AbstractResourcePool.java:603)
    at com.sun.enterprise.resource.AbstractResourcePool.resourceErrorOccurred(AbstractResourcePool.java:713)
    at com.sun.enterprise.resource.PoolManagerImpl.putbackResourceToPool(PoolManagerImpl.java:424)
    at com.sun.enterprise.resource.PoolManagerImpl.resourceClosed(PoolManagerImpl.java:393)
    at com.sun.enterprise.resource.LocalTxConnectionEventListener.connectionClosed(LocalTxConnectionEventListener.java:69)
    at com.sun.gjc.spi.ManagedConnection.connectionClosed(ManagedConnection.java:618)
    at com.sun.gjc.spi.ConnectionHolder.close(ConnectionHolder.java:163)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection(DatabaseAccessor.java:379)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.closeConnection(DatasourceAccessor.java:367)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeConnection(DatabaseAccessor.java:402)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.afterJTSTransaction(DatasourceAccessor.java:100)
    at oracle.toplink.essentials.threetier.ClientSession.afterTransaction(ClientSession.java:104)
    at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.afterTransaction(UnitOfWorkImpl.java:1816)
    at oracle.toplink.essentials.transaction.AbstractSynchronizationListener.afterCompletion(AbstractSynchronizationListener.java:161)
    at oracle.toplink.essentials.transaction.JTASynchronizationListener.afterCompletion(JTASynchronizationListener.java:87)
    at com.sun.ejb.containers.ContainerSynchronization.afterCompletion(ContainerSynchronization.java:174)
    at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:467)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:357)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3653)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
    at $Proxy84.addDepartment(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
    End of Stack Trace
    |#]
    RAR5035:Unexpected exception while destroying resource. To get exception stack, please change log level to FINE.
    EJB5018: An exception was thrown during an ejb invocation on [DepartmentSessionBean]
    javax.ejb.EJBException: Unable to complete container-managed transaction.; nested exception is: javax.transaction.SystemException
    javax.transaction.SystemException
    at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:452)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:357)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3653)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
    at $Proxy84.addDepartment(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • Caller ID Not working

    I think i am going nuts, cos my new BTVerve 450 is a great phone, but it will not display Caller ID. I am with Virgin for my phone line etc, with a wireless router for my laptop. Can anyone help? I really dont want to return the phones, i am really pleased with the unit, but i really need caller ID, especially as i am paying extra for it! Any suggestions would be welcome, Bernie

    Try just plugging the phone in without anything else connected (BB Router, Filters, Sky box) and see if that works, if it does plug each item back in on at a time, trying an incoming call each time.
    You may find problems with either a duff filter or even the router can sometimes mask the display
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • Iphone 5S call voice Low quality.

    Iphone 5S  low quality call voice.  When I make a phone call , people in the other side said my voice is very small and disconnected. The voice is good when I am using the earphone at the same calls

    Hello tigertiger123abd,
    The following article can help sort your iPhone's built-in microphone.
    iPhone: Microphone issues
    http://support.apple.com/kb/TS5183
    Cheers,
    Allen

  • IPhone Voice Memos Interrupted By Incoming Calls

    I notice that every time I use my Voice Memos software on the 3G(s), if an call comes in, the Voice Memo stops recording and I won't know it till I look at the phone later. Is there ANY way to stop that for that not to happen and you can have perhaps the calls go directly into voice mail so that the Voice Memo feature doesn't get interrupted? It's useless to me otherwise.
    Thanks for anyone's input!

    The voice recorder application - just like every other iPhone application, native or 3rd party - will shut down when you receive a phone call. The iPhone operates under the assumption that the device is first and foremost a telephone.
    As far as work arounds go, you can always put the phone in airplane mode when you need to use the voice recorder app uninterrupted. This will send all incoming calls directly to voicemail.
    Message was edited by: Ansuz82

  • Why my iphone 5s voice mail answer call first and my iphone second.

    why my iphone 5s voice mail answer call first and my iphone second.

    Hello celazopdef,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning cellular issues:
    iPhone: Troubleshooting issues making or receiving calls
    http://support.apple.com/kb/TS3406
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • IPhone 5s Voice Call Issues

    I've had an iPhone 5s (upgraded to 8.1.3) since mid-November and have been experiencing difficulties on voice calls ever since (I switched carriers as well). When calling specific contacts (family, friends etc.), the calls sound as though as I am on speakerphone, and there is a great deal of static and distortion present as well. The beginning of the call sounds as though the network is about to drop it before recovering it in a much lower quality. To the best of my knowledge, I have tried absolutely everything at this point, including: swapping the handset (three times), sim card (three times), resetting the device and even changing my number (was informed that it could have something to do with the "porting" of a number profile from one carrier to another). None of these moves have worked and I am still trying to decipher why I am encountering this problem (I have been in constant contact with my carrier who appears to have exhausted all ideas).
    Any suggestions or thoughts are greatly appreciated.

    I was having the same problem and also loosing battery life - it suddenly happened.  I went online and saw where someone said to get rid of all the unused apps still sitting there, deleted all the old posts and yea!   suddenly the problem has been fixed.   Hadn't deleted the unused apps in quite sometime, so obviously draining everything.

  • CUPC 8.6 call forward to voicemail

    Hi!
    I am using Cisco Personal Communicator (CUPC) 8.6 and also CUCM 8.6. I have CUPC in Deskphone mode, connected to a 6945 IP Phone. I also have Unity Connection where my voicemail box is hosted. When I want to setup call forward to voicemail button in cupc option, it is not working. CUPC will not handle the options I setup seconds before. If I manually put in a call forward to extension number of voice mail pilot call forwarding is working. also call forwarding to my mobile is working.
    I checked End User settings, IP Phone is associated to my user, also CTI controll is enabled on device and line settings. user privileges are correct. I tried it on jabber client where it works fine. I also restarted CTI and Callmanager Services on the Servers.
    Does anyone has an Idea if this is a general bug in CUPC or does anyone can tell me what the problem might be?
    Thanks!
    René

    Hi,
    If at least one of these phones is set to CF to VM then it will, if not, then no.
    If none of your phones is set to CF to VM CUCM will not send them to VM, that is expected, if you need to ring, phone A, and if it is not answered to go to phone B, C... and so on, and send the caller to VM after you have reached all of these then use a hunt group, (the pilot can be set to CF to VM if nobody answers), if you need to ring all phones at the same time so someone can pick this up, use a hunt group with a broadcast logic.
    If this is for a single user, check 'single number reach' (SNR) or mobility on CUCM.
    Bottom line, there is no way to send a caller to VM if none of the phones is set to CF to VM.
    HTH
    Chris.

Maybe you are looking for

  • Updating ipod error message

    when i connect my ipod 30gb to my laptop it opens itunes and tells me there is an upate avalible for my ipod. when i try to update it comes up with error 1417. I have tried to restore my ipod to factory settings at it fails with error message 1428. A

  • How to retrieve CRL information from a client computer

    Is possible to retrieve CRL information from a client computer and how? Thanks.

  • Movement of Material from Quality.

    Hi ALL, The inspection lot is created with Insp. type "04" ..'Goods receipt inspection from production'...The usage decision as "DEV2" has been  made for the lot...but the qty for offgrade  has been posted to Quality instead of unrestricted. and new

  • CIN RG1 upadtion issue

    Hi Experts , Need your help on the below issue , I have manufactured the material  take inside through 101 (RMA) and i extract RG1 in J2I5 and J2I6 print it is comming correctly i.e 1st line Qty manufactured    closing balance                25      

  • The App World of PLAYBOOK is missing!

    Some days before, i cannot use my app world normally,  it stay at Background image,no application icons came out. So,i wipe data yesterday, but the app world is missing when my playbook finished the installion, and i update to the lastest version ,i