Clling Transaction in Function Module

Hello Gurus,
I have one doubt...
can we calll the Transaction from function module or remote function module.
Thanks and regards
zubera

Thanks for your reply.
I have written one BDC Program which calls take the input from user and calls the Transaction FB10 in back ground and update the SAP tables.
Now user requirement is he want convert same program as remote function module and give the input from third party software and create the entries in SAP table.
Whether this requirement is possible.
Thanks in advance.
Best Regards,
zubera

Similar Messages

  • Test case upload in solar02 transaction using function module

    I have requirement to upload test case and test case name in transaction solar02,
    i want functional module name which will ask for project name, business scenarious, business processes
    test case type,  test case , test case name

    Hello Vinod, see the following code (I assume you have a item data on columns A and B as from row 4, and header data on row 2)
        Set rfcctl = CreateObject("sap.functions")
        Set conn = rfcctl.Connection
        conn.Client = "<client>"
        conn.hostname = "<server>"
        conn.user = user "<username>"
        conn.Language = "<lang>"
        conn.password = "<password>"
        conn.SystemNumber = "<system number>"
        If conn.Logon(0, True) Then
           Set rfc = rfcctl.Add("PROCESS_MESS_UPLOAD")
           Set data = rfc.Tables("MSHD").Rows.Add
           item("WERK") = Range("A2").Value
           item("MSCLA") = Range("B2").Value
           item("SEDAT") = Range("C2").Value
           'add all necessary table columns
            i = 4
            While Range("A" & i).Value <> ""
                Set item = rfc.Tables("MSEL").Rows.Add
                item("ATNAM") = Range("A" & i).Value
                item("ATWRT") = Range("B" & i).Value
                'add all necessary table columns
                i = i + 1
            Wend
            If rfc.Call Then
              'CHECK FOR SUCCESS OR ERRORS
            Else
                MsgBox "Call error", vbOKOnly
                Exit Sub
            end if
        Else
            MsgBox "Logon error", vbOKOnly
            Exit Sub
        End If
        Set rfcctl = Nothing
        Set conn = Nothing
    Note: I haven't used this FM before, so I'm guessing which table fields may be useful to you
    Cheers
    Michael

  • Transaction SU01 -- Function modules...

    Hi Colleagues,
    Can someone direct me to correct function modules to get all data whcih we see in transaction SU01.. ie LOGON DATA , CoMM data etc.
    Regards
    Anuj

    Hi Anuj,
    In SE80 look at the Function Modules under Function Group SUSR.
    Reward points if this info was useful to you.
    Cheers,
    Sougata.

  • How to lock transaction using function module or something like that

    Hi, all
    I'd like to know the way to lock transacitons using function module or something like that.
    I know this would be possible if calling transaciton SM01, but I want to know other ways like calling function module  (BAPI ) or method.
    Thank you for your cooperation In advance.
    Regards,
    Hideki Kozai

    Hi,
           Try the following FM
    BRF_NETWORK_GRAPHICS           BRF: Network Graphics for BRF Objects
    BRF_INITIALIZE_GRAPHICS_NGR    BRF: Initialize Network Graphics
    BRF_NETWORK_GRAPHICS_NGR       BRF: Network Graphics: Start
    BUSG                           SAP Business Graphics
    GRAPH_2D                       Calling up the 2D business graphics
    GRAPH_2D_MENUE                 DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
    GRAPH_3D                       Calling up the 3D presentation graphics
    GRAPH_BUSG_COLOR_SET           Definition of color pallets for business graphics
    GRAPH_BUSG_MENU_SET            Pushbutton menu (tool bar) for all BUSG modules
    GRAPH_MATRIX                   Calling up SAP Business Graphics (2D, 3D and 4D)
    GRAPH_MATRIX_2D                Calling up the 2D graphics (user-friendly version)
    GRAPH_MATRIX_3D                Structure of 3D graphics (user-friendly version)
    GRAPH_MATRIX_4D                Calling up a 3D graphic (4th dimension stacked representation)
    Regards,

  • Function module to update Quality notification

    Dear All,
    I have two questions.
    1) Is there any function / BAPI to change quality notification?
    2) Can i use call transaction in function module which is called as Background task?
    Regards,,,
    Sunil Joyous

    Hi,
    Following are the BAPIs for quality notification:
    BAPI_QNOTIFICAT_CREATE Create Quality Notification
    BAPI_QNOTIFICAT_GETCATALPROFIL Determine Catalog Profile for Quality Notification
    BAPI_QNOTIFICAT_GETKEYFIGURES Determines Existing Quality Notifications
    BAPI_QNOTIFICAT_GETLISTFORCUST Select Quality Notifications for a Customer
    BAPI_QNOTIFICAT_GETMATLISTFCUS Select a Customer Material List for Quality Notifications
    Regards,
    Sharath

  • Function Modul RV_SALES_DOCUMENT_VIEW_3

    Hi all
    i have a problem with the functionmodul RV_SALES_DOCUMENT_VIEW_3, when i run it, i became none data. I have enough authority, what's wrong?
    Greezzzz
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again.
    Edited by: Thomas Zloch on Nov 5, 2010 9:22 AM

    Hi ,
    I guess the function module 'RV_SALES_DOCUMENT_VIEW_3' should get called from the transaction to
    display the list.
    So for providing the access to this function module, you can create the single role (assigning the transaction of function module to this role) and then create the multple role and assign this multiple role to the user.
    Please let me know for any issues.
    Regards,
    Darshana

  • Attach function module to a table field

    Hi guys,
            I need to add a function module to a table field as a F4 help.
    The function module i like to attach is K_GROUP_SELECT.
    Like it works in the transaction KS13
    Function module-->   ‘K_GROUP_SELECT’
    Please reply urgent will be rewarded with full points.

    Use the TCode SE11  & create a <b>search help</b> for the Table field in question.
    ~Suresh

  • Reg Standard programs and function modules

    Hi Could you please tell how to find the list of
    1.standard programs used
    2.standard tcode used
    3.function module used
    is there any table or function module to find the above
    Thanks in advance
    points will be rewarded

    hi,
    TADIR -  Tables
    TSTC  -  transactions
    TFDIR - Function modules.
    If you want to search for any table  ,
    Suppose if you want to search for a table which stores
    Country names then just
    GOTO SE11 and place the cursor on 'Database table'
    press F4,
    Click on 'Information system'
    then one window is displayed there give short description
    and search .
    You will get the tables list there you can fine the table which you want.
    For any other if you want to find out table which stores all the domain names then click F4 on 'DOMAIN' then search.
    to search function modules GOTO  SE37 there press F4 then give short description and search. Ok.
    Regards,
    Rajitha.

  • Authorization for function module : RV_SALES_DOCUMENT_VIEW_3

    hi,
    the user does not have the auth for the fm RV_SALES_DOCUMENT_VIEW_3 and so he can not display the list that this fm is used in.
    How can i provide this auth for this user?
    Thanks.
    Moderator message: not directly related to ABAP development, please have a look in Netweaver Security forum, but do not ask basic questions like this one.
    Edited by: Thomas Zloch on Nov 8, 2010 12:41 PM

    Hi ,
    I guess the function module 'RV_SALES_DOCUMENT_VIEW_3' should get called from the transaction to
    display the list.
    So for providing the access to this function module, you can create the single role (assigning the transaction of function module to this role) and then create the multple role and assign this multiple role to the user.
    Please let me know for any issues.
    Regards,
    Darshana

  • CRM Tables , Tables Mappings , T-codes , Function modules

    Hi All,
    I am new to CRM , I want to know the tables , table mappings transaction
    codes , functional modules used . Can any one mention the link / list down all which i have mentioned above .
    I will be very helpful if i get this information.
    cheers,
    Chandra.

    hi,
       CRM tables:
        https://forums.sdn.sap.com/click.jspa?searchID=2400935&messageID=3134573
        https://forums.sdn.sap.com/click.jspa?searchID=2400935&messageID=3128631
        https://forums.sdn.sap.com/click.jspa?searchID=2400935&messageID=3269744
    CRM FM:
       https://forums.sdn.sap.com/click.jspa?searchID=2400963&messageID=3239545
    Reward points if useful..
    Regards
    Nilesh

  • Function Modules or BAPI for CK91N transaction Please

    Hi,
    To upate CK91N transaction , Is there any function module or BAPI exist?
    Thanks,
    Krishna

    Hi
        go to se80 ->package->type CKMLMV as package name.
    This package has multiple programs and function modules which update the transaction. You can choose from them according to your requirement.
    Hope this helps!
    Viquar Iqbal

  • ST22 , Need to  get the Transaction and Pgm name using a FUNCTION MODULE ?

    Hi All,
    I need to create a Report for monitoring Dumps which is seen in ST22 every day.
    The function module RS_ST22_GET_DUMPS gives the dump information . But i need to fetch the Program name and the transaction where the dump has happened for my report.(Like when we double click the alv output in ST22 and the next list gives us the complete information , Transaction , Main program name ...etc)
    Kindly suggest me and help me on this .
    Regards,
    Richard A

    Hi
    Funcion module RS_ST22_GET_DUMPS will return the program names where the dump has taken place.
    Pass this program name to function module RPY_TRANSACTION_READ to get the trascation code of the program.
    Regards
    Srilaxmi

  • RFC enabled function module using call transaction

    Hi,
    We have a scenario wherein we have a RFC enabled function module which inturn uses a call transaction to create a PM order & attaches the PM notification against it. Sometimes it so happens that the order does not get created for some reason or the other and there are no logs generated on the system to investigate. However we are capturing the messages produced via the BDCMSGCOLL. At present we are using the update parameter as 'L'.
    In some scenarios it states that the notification is locked by the same notification and comes out without creating the order, in this process we are losing out on the order & the notification number which if successful would have got updated in the database.
    I know this could be done via the BAPI, but there are innumerable steps within the BDC which can't be actually done using the BAPI and hence we could not use this procedure.
    Is there any other way by which we can ensure that there's always a successful order creation, I mean without losing out on the order/notification number?. Would changing the update mode to 'S' help?. Since this process is time bound, it can't actually take more time then what its taking with the current logic.
    Please let me know if you require further details on the same. Any help in this regard would be highly appreciated.
    Regards,
    Vidya

    Sorry for an unclear replay.
    In Simple terms; I have 2 scenarios;
    Launch a new tab (IW38 tcode), on click of a button in SAP screen of custom transaction in NWBC.
    Launch a new tab (IW38 tcode), on click of a button in a Non - SAP App opened (using URL) in NWBC.
    For 1st case, i have used
    CL_NWBC=>URL_CONSTRUCT
      EXPORTING
         CANVAS_WDA__CLIENT_TYPE       = 'nwbc'
         CANVAS_TRANSACTION            = 'IW38'
      RECEIVING
         URL                           = lv_URL.
    CALL METHOD CL_NWBC=>URL_LAUNCH
       EXPORTING
         URL    = lv_url
    But it gets open in NWBC HTML not in NWBC Desktop client.
    I tried all the Parameters you have mentioned in your response to this post earlier, but nothing worked. the last one is CANVAS__WINDOW which actually hides the top area and few buttons but still it is a HTML version.
    If i set the HTML_CLIENT = ABAP_FALSE, it launches a new window instead of the tab and asks for Login. If i login in can see the IW38 in NWBC desktop client. But the only problem is we have the restriction of single window/single login for users.
    I am on NWBC PL12 and also updated the GUI 7.3 to PL8.
    Simply the problem is URL_CONSTRUCT for any transaction is launching it in a new tab but in HTML Version.
    For 2nd case,
    It asks for the login details on click of a button on the 3rd party URL opened in NWBC. which means i am launching SAP from a 3rd party.
    Is there any way to achieve the launch of new tab in this case instead of the new window ?
    I hope its more clear now.
    Regards,
    Nik.

  • Function module to find document attached to a transaction in document tab

    Hi
    I have an urgent requirement. I have to check whether any document is attached in the document tab in service order transaction within my code. How can I do that?Is there any function module for doing that? Please suggest.
    Regards,
    Sucheta

    Not quite sure if these BAPI's work for service orders in CRM (cause that is probably what you are looking for), but here is some code for retrieving documents for service orders (or business transaction in general):
    DATA : lr_crm_document           TYPE REF TO cl_crm_documents.
      Get header info object.
        SELECT SINGLE * FROM crmd_orderadm_h
               INTO lw_orderadm_h
               WHERE guid = iv_guid.
      Retrieve all documents linked to current business transaction.
        CREATE OBJECT lr_crm_document.
        ls_business_object-instid = lw_orderadm_h-guid.
        ls_business_object-typeid = lw_orderadm_h-object_type.
        ls_business_object-catid  = 'BO'.
      Get info documents.
        CALL METHOD lr_crm_document->get_info
         EXPORTING
           business_object       = ls_business_object
          PROPERTIES_REQUEST    =
           newest_only           = 'X'
          properties_query      =
          PROPERTIES_QUERY_RA   =
         IMPORTING
           phioloios             = lt_phioloios
           ios_properties_result = lt_ios_properties_result
           loios                 = lt_loios
           phios                 = lt_phios.
    Hope this helps.

  • CALL TRANSACTION in Update Function module

    Hi all
    AFIK, it is not possible to trigger a CALL TRANSACTION for BDC update in an update function module. Yet, i jus wanna to confirm it with the xperts. what are other options for posting a BDC data in an update function module?
    thkx
    Prabhu

    Hi,
    Try this..
    Create a new RFC function module and in the function module do all the coding for the BDC and CALL TRANSACTION..
    Inside the update module call the RFC function module IN BACKGROUND TASK.
    I believe this should work..
    Thanks
    Naren

Maybe you are looking for

  • How do you view tv or movie playlists created in iTunes on Apple TV?

    I have iTunes 12.1.0.50 running on a Mac and a 2nd generation Apple TV with the latest software update on it.  However I am aware that Apple is not providing any more updates to the 2nd generation Apple TV.  I have some tv shows purchased on iTunes t

  • Problem With Cyan Updates!

    My lumia 920 did the cyan update last night and after the update everything is faulty. It doesnt detect my sim like before, it is set to flight mode and i cant set it back now. the time and date is always off. Cant turn it on for long and i cant upda

  • How to post stock and what transaction codes

    Hi gurus If I created new material how can I post stock in to the material to process. Ex:MMBE for stock checking. But what is the t -code to enter some stock at materila. also how what other transaction I can for stock posting at various scenarios.(

  • Query regarding Purchase Order Lines stored in database?

    Hi Friends, While i extract Purchase Order details ,i found that in demo database,some Purchase order lines are stored in seperate entries in POR1.. eg: if <b>21</b> A00001 is ordered,then the purchase Order line for 20 item is stored in a row and pu

  • IPhoto and iMovie can't update

    OK, so, in 2011 I think, my grandparents bought two MacBook Pro 13" laptops... Last year, they gave one of them to me, as my grandpa couldn't use his any more. Recently I realized that I hadn't been updating my software (hadn't used a Mac in forever