Call a smartform in the SAP system from portal

Hi Friends
My requirement is to trigger a smartform in SAP, from portal. Please guide me on how to achieve this.
Thanks
Saran

Hi,
I have an idea but dont know how far its possible for you.
You can call smartforms function module from portal and then convert that to pdf file which can be displayed in a pdf control on the portal.
Check whether this approach is possible.
Regards
Karthik D

Similar Messages

  • Call a smartform in the SAP R/3 from portal

    Hi Friends
    My requirement is to call a smartform in SAP R/3 from a portal application. Please guide on how to connect to SAP R/3 and print the smartform from portal.
    Regards,
    Saran

    Hi,
    You can create a SAP-Tocde iview in portal for the T-Code SAMARTFORMS....
    Read this blog on how to Connect to R3 thru Portal...
    Configuring EP for connecting to SAP R/3
    Regards,
    Srinivas

  • Call to webservice External (non sap) system from SAP CRM

    Hi,
    I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
    Can you please tell me:
    1. What settings/object needs to be maintained in SAP in order to make this call.
    2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
    Please explain in detail
    Thanks,
    Mike

    Hi,
    Check this
    Calling web service from ABAP - version 4.6C

  • Calling Web Services between two SAP systems.

    Hi Experts,
    I am trying to trigger a web service  created in one of the SAP system from a different R/3 system through WDA.
    Kindly help me out on what are the configurations to be done like linking two systems (do i require this?) etc..
    I have successfully obtained the WSDL file, but could not use it in my second system. It says , it encountered an error. I wonder if i am required to do any configurations.
    All suggestions are welcome.
    Thanks and Regards,
    Anto.

    Hi Antony,
    By Proxy Object, I meant Class to consume WebService in your second system.
    Lemme summarize, what you have done and lemme know where I am wrong.
    System A.
    You exposed an RFC enabled Func Module or BAPI as a webservice.
    After this you have checked it using WSADMIN, and you have tested this as well.
    And finally you saved the WSDL file of this Web Service.
    System B.
    you create a Proxy Object as specified in the link I provided.
    you create the RFC destination n did the Logical Port Configuration  as per that link.
    Now you can use this proxy class any where , in any abap code.
    you can use this in WDA as well.
    But before doing so, I would suggest to write a test report as suggested in the link and test if your webservice is working fine.
    Now please tell me where did you do the things differently.
    Regards
    Pushkar

  • Starting sap-system from MS-DOS without SAP Management Console?

    Hi,
    I want to start the sap-system from MS-DOS without using SAP Management Console.
    Is this possible?
    Which file must be started?
    Thanks for your help.
    Regards
    Stefan

    Hi Stefan!
    Try this:
    startsap name=<SID> nr=<InstNo> SAPDIAHOST=<host>
    Regards,
    Carsten

  • How to stop start SAP system from SAP transactions?

    Hi Experts,
    How can i stop start the SAP system from SAP screens? Are there any transaction for this  need?
    thanks,
    philaphi

    Hi,
    Use Tcode RZ03 -->  Control --> Stop SAP Instance.
    Best Regards,
    Sachin.

  • Calling a web service in external system from SRM

    Hi folks,
    A web service is created in the external system and I need to access this web service from a BADI. Can you tell me how can I call this web service (the external system is giving me a URL) and how I'll get a return. Please let me know in detail.
    Thanks,
    Prem

    Prem,
    Hi. You can call the service via HTTP protocol. Pass them values (SET_DATA), and receive a response (GET_DATA), via xml/html.
    In your code you would need to create the xml data to pass them, and evaluate the returned xml.
    Process...
    Data setup
    1) Create the XML to send them
    Working with the external service
    2) Open the HTTP connection
    2a) cl_http_client=>create_by_url (IF_HTTP_CLIENT)
    2b) lr_client->authenticate
    3) Call the to send them the XML
    3a) lr_client->request->set_data
    3b) lr_client->send
    4) Call the lr_client->receive to return the response
    5) Close the connection lr_client->close
    Data evaluate
    6) Evaluation the returned XML and process.
    Hope this helps
    Cheers
    Rob
    Code example below.. (There are loads of SAP examples depending on which release you are on).
    Process the call to the HTTP client - logic copied from RSHTML01     *
    Open IF_HTTP_CLIENT
      call method cl_http_client=>create_by_url
        exporting
          url                = l_url
        importing
          client             = lr_client
        exceptions
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          others             = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          raising oops.
      endif.
    Authenticate the user
      if not g_int_type-usr is initial.
        move: g_int_type-usr      to l_user,
              g_int_type-password to l_password.
        call method lr_client->authenticate
          exporting
            username = l_user
            password = l_password.
      endif.
    Allow for Cookies
      lr_client->propertytype_accept_cookie = lr_client->co_enabled.
    Set the server protocol
      select single gsval into l_server_protocol
        from z77s0
          where grpid = c_grpid
          and   semid = c_server_protocol.
      if sy-subrc eq 0
      and not l_server_protocol is initial.
        move l_server_protocol to l_st_server_protocol.
        call method lr_client->request->set_header_field
          exporting
            name  = '~server_protocol'
            value = l_st_server_protocol.
      endif.
      Send out the XML
      Set body to XML data
        lr_client->request->set_data( g_xxml ).
        save_xml( i_role = cl_xml_document=>c_role_oreq ).
        l_request_length = xstrlen( g_xxml ).
      If Data is sent through then we need certain flags set
        lr_client->request->set_header_field(
                                   name = 'Content-Type'
                                   value = zcl_tem_bsp=>c_xml_content ).
        call method lr_client->request->set_header_field
          exporting
            name  = '~request_method'
            value = 'POST'.
      Set length of string to the header fields
        if not l_request_length is initial.
          move l_request_length to l_st_request_length.
          lr_client->request->set_header_field(
                                    name = 'content-length'
                                    value = l_st_request_length ).
        endif.
      Send the request
        call method lr_client->send
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            http_invalid_timeout       = 4
            others                     = 5.
        check_for_error 'Send'.
      Receive the response
        call method lr_client->receive
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            others                     = 4.
        check_for_error 'Receive'.
      Determined returned XML or HTML
        g_xxml = lr_client->response->get_data(  ).
      Determine the header fields for failure validation
        if lr_client->response->get_header_field( '~status_code' )
              between 200 and 299.
          save_xml( i_role = cl_xml_document=>c_role_ires ).
        else.
          l_status_code =
            lr_client->response->get_header_field( '~status_code' ).
          l_descript_1 =
            lr_client->response->get_header_field( 'error' ).
          l_descript_2 =
            lr_client->response->get_header_field( 'errortext' ).

  • Using the SAP GUI from the NW2004s SneakPreview Download

    Hello,
    does anyone else have major problems with the SAPGUI from the NW2004 SneakPreview download page?
    Im getting a runtime error when logging on:
    Runtime Errors         MESSAGE_TYPE_X                                                                 
    Date and Time          24.12.2005 00:34:11                                                                               
    Short text                                                                               
    The current application triggered a termination with a short dump.                                                                               
    What happened?                                                                               
    The current application program detected a situation which really                                
         should not occur. Therefore, a termination with a short dump was                                 
         triggered on purpose by the key word MESSAGE (type X).                                                                               
    Error analysis                                                                               
    Short text of error message:                                                                     
         Control Framework : Error processing control                                                     
         Technical information about the message:                                                         
         Message classe...... "CNDP"                                                                      
         Number.............. 006                                                                               
    Variable 1.......... " "                                                                               
    Variable 2.......... " "                                                                               
    Variable 3.......... " "                                                                               
    Variable 4.......... " "                                                                               
    Trigger Location of Runtime Error                                                                    
         Program                                 CL_GUI_CFW====================CP                         
         Include                                 CL_GUI_CFW====================CM002                      
         Row                                     23                                                       
         Module type                             (METHOD)                                                 
         Module Name                             FLUSH                                                                               

    Hello Rich,
    the sap gui from the NW2004s SneakPreview page is on patchlevel 8. The problem is when i use the latest sap gui from the service marketplace (full install!) i cant event call the gui. Getting a error when doubleclicking on the SAP Gui icon.
    'The procedure entry point 'RfcResetTraceDir' could not be located in the dynamic link library 'LIBRFC32.dll' .'
    So actually since i installed the NW2004s on my local notebook the only sap gui "working" (at least i can call it) is the one from the NW2004s Sneakpreview page but im getting this error mentioned here on all systems! not only on the NW2004s system
    regards,
    Markus

  • Getting the No of Users logged in the SAP system

    Hi Experts ,
    I have the requirement of finding the No of Users ( User Ids) logged into the SAP system.
    Is there any database table or FM to retrieve this information.
    Regards,
    Abhishek Kokate

    Hi Abhishek,
    Check out transparent table : USR41 (User master: Additional data) This may be the table you want to use.
    Or
    You can use SUBMIT command with the above stated report (RSM04000_ALV) - export the output( ALV data) to memory and then retrieve to use it as you want (as an internal table).
    example :
    DATA  BEGIN OF itab_list OCCURS 0.
            INCLUDE STRUCTURE abaplist.
    DATA  END OF itab_list
    SUBMIT RSM04000_ALV
      via selection-screen
        EXPORTING LIST TO MEMORY
          AND RETURN.
    * To read from the memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    Hope this is help full to you  !!
    Salil.

  • Launch a RFC in a SAP system from Redwood CPS

    Hi,
    How can I launch a rfc in a SAP system from Redwood ?
    Ex : in SE37, the function DATE_GET_WEEK, with a date (DD.MM.YYYY) as input parameter returns the corresponding week (YYYYWW)
    Regards.

    Hi,
    SAP CPS uses an RFC to communicate with a target SAP system via the XBP interface so that Jobs can be executed.  The CPS executable only knows of the calls that are appropriate to that interface or function modules created when CPS transports are loaded.  If there was an RFC type interface that exposed your function to an external executable then of course CPS could execute the executable.
    Regards,
    Simon

  • Error while creating request list Unable to detect the SAP system directory

    We are upgrading SAP BW (NW 7.0 EHP1) to SAP BW (NW 7.3)
    source OS: Windows 2008 R2,  source DB: MSSQL server 2008 R2 SP1 CU3
    I had started the upgrade by running: STARTUP.BAT
    I had started the DSUGui on the server (CI / DB on the same server) from: D:\usr\sap\BP1\upg\sdt\exe\DSUGui.bat
    I ran both programs (run as administrators).
    Once SAP Gui connects and was able to create userid/ password and when ready to start the initialization phase (click next)
    gives me the error
    Error while creating request list - see preceeding messages. Unable to detect the SAP system directory on the local host
    I had tried STARTUP.BAT "jce_policy_zip=Z:\export-import\downloads\jce_policy-6'  and still the same error.
    I had started DSUGui.bat with trace and the trace file contents are
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[2.0.7.1006]/>
    <!NAME[D:
    usr
    sap
    bp1
    upg
    sdt
    trc
    server.trc]/>
    <!PATTERN[server.trc]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jan 11, 2012 10:14:58 AM [Error]:                          com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:102) [Thread[ExecuteWorker,5,main]]: Execution of command com.sap.sdt.engine.core.communication.CmdActionEvent@376433e4 failed: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
    Jan 11, 2012 10:14:58 AM [Error]:                          com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
    Jan 11, 2012 10:14:58 AM [Error]:                          com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
    Jan 11, 2012 10:14:58 AM [Error]:                                                 com.sap.sdt.engine.core.communication.CmdActionEvent [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
         at com.sap.sdt.dsu.service.req.DSURequestListBuilder.persistSystemInfo(DSURequestListBuilder.java:277)
         at com.sap.sdt.dsu.service.DSUService.createRequestList(DSUService.java:338)
         at com.sap.sdt.dsu.service.controls.DSUListener.actionNext(DSUListener.java:144)
         at com.sap.sdt.dsu.service.controls.DSUListener.actionPerformed(DSUListener.java:67)
         at com.sap.sdt.server.core.controls.SDTActionListener$Listener.actionPerformed(SDTActionListener.java:46)
         at com.sap.sdt.engine.core.communication.CmdActionEvent.actOnEvent(CmdActionEvent.java:43)
         at com.sap.sdt.engine.core.communication.CmdEvent.execute(CmdEvent.java:69)
         at com.sap.sdt.engine.core.communication.ExecWorker.handleCmd(ExecWorker.java:36)
         at com.sap.sdt.engine.core.communication.AbstractWorker.run(AbstractWorker.java:93)
    I could not get Upgrade started.  Any help is appreciated
    Thanks
    Prathap

    Did you get this solved?
    I have the same problem

  • Unable to Logon to the SAP System after Installing SAPNW2004sSneakPreviewAB

    Hi
       I Installed SAPNW2004sSneakPreviewABAP.
       If i am trying to run the NSP Server it first Starting (Showing Blue Color ) and after few seconds it is becoming Yellow in Color. When i cross checked in Process list it is showing one of the process in yellow color i.e.
    disp+work.EXE whose description is Dispatcher
    and Status is showing as "Running but Dialog Queue standstill"
    May be because of this i am unable to log on the SAP System.
    One more thing i got a licence key from SAP but when i am trying to intall licence key using saplicence -install this is also not working it is showing following error message.
    SAPLICENSE (Release 700) ERROR ***
        ERROR:   Can not set DbSl trace function
        DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
        RC-INFO: error loading dynamic db-library - check environment for:
                 dbms_type = <db-type>  (e.g. ora)
                 DIR_LIBRARY = <path to db-dll>  (e.g. /usr/sap/SID/SYS/exe/run)
    Could you please help in this

    Please refer to this post as this is a duplicate.
    Problem after installing SAPNW2004sSneakPreviewABAP
    Please close this post.  Thanks.
    Regards,
    Rich Heilman

  • Creating tables on SQL studio and viewing the table in the SAP system

    i have just created a table using the SQL studio and wants to use it view it in the SAP system using the SAP logon. till now i have not found a way to create it therefore any help is much appreciated.

    Hmm... you want to see tables via SAPLogon ??
    Ok, let's assume you really want to access tables via ABAP instead.
    For that you've two options:
    1. Create the table in the ABAP dictonary (SE11) exactly like you created it in the database and activate the table.
    After that you can access the table via SE16 or any ABAP as you like.
    2. You don't create the table in the ABAP dictonary and use native SQL to access the data.
    Neither of these options is meant to be the way to do it.
    The correct way would be to design the whole table in the ABAP dictionary and create the table on the database from that.
    regards,
    Lars

  • Parallel How many times user can login to the SAP system through ITS

    Hello all
    We are using the ITS ---620 and following 46D R/3 system 
    R/3 system details:
    Kernal :
    kernel release :46D
    O/S :SunOS 5.8 Generic_108528-05 sun4us
    We would like to now, At a time How many times user can login to the SAP system through ITS
    Kindly letus know  if any one have idea about parameter which can restrict the end users to u201CNu201D times/ sessions.
    Transaction SITSPMON/SMICM are not working in R/3 system as it is 46D.
    We found that parameter u201Clogin/disable_multi_gui_loginu201D works with SAPgui logons.
    System logons using the Internet Transaction Server (ITS) or Remote Function Call (RFC) are not affected by this Parameter u201Clogin/disable_multi_gui_loginu201D
    I need similar parameter u201Clogin/disable_multi_gui_loginu201D for the ITS users.
    Thanks

    I have searched all docs and notes.
    Everytime the answer is PArameter for multi_gui_logonis not applicable for SAP Gui for HTML ( Browser )
    The functionality does not exist for SAP Gui for HTML.
    Regards,

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

Maybe you are looking for

  • Assigning a value to the String array - geting exception

    Hi, All I'm trying to do is String[] appName = null; appName[0] = "all"; This is throwing a Null Pointer Exception!

  • Changing date format in XML form!!

    Hi, I have created a form by using XML form builder.I have many date fields in the form. I want to change the date format of date field from default MM.DD.YY to DD.MM.YYYY. Helpful answer will be appreciated with points. Regards, Dharam

  • Please help me!! problems putting songs in my ipod

    ok, i just bought the ipod video and am having troubles with putting songs into it. i know when u connect the ipod to ur computer, it automatically syncs all the songs u have in ur library to ur ipod. so i took mine to one of my friends house and upd

  • How to set maximum length for TextEdit

    Hi all,     I have a TextEdit UI element in my webdynpro page and I want to set the maximum number of characters that can be entered in this TextEdit. How can I do this? Thanks, Satyajit.

  • Extracting embedded thumbnails from JPEG

    Hello, I need to extract and display the thumbnails that are embedded in JPEG files. Does anybody know how to do that with Java 1.3.1? Thanks, Stan