Using the transaction launcher to call a BOR method to display a PDF

Hello gurus,
I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
In CRM 4, in the collection factsheet assignment block, the link was coded into an XSLT which is then displayed in the GUI and you would have a clickable link for a pdf file in a row in a table. That link would be as follows:
         <xsl:variable name="ev_key">SAPEVENT:?OBJTYPE=<xsl:value-of select="attributes/OBJTYPE"/>&amp;OBJKEY=<xsl:value-of select="@KEY"/>&amp;LOGSYS=<xsl:value-of select="attributes/LOGSYS"/></xsl:variable>
             <a href="{$ev_key}"></a>
This will get the file in IXOS and display it, in CRM 4. In CRM 7, the link is an icon in every line of an assignment block.
Here are some questions I have now for the functional side in the meantime:
1) Can we fetch the PDF in IXOS for each line of an assignment block and have it open? If so, how? Transaction launcher, function modules (like ARCHIVOBJECT_DISPLAY) in the OPTA package? (the package for all IXOS related function modules..)
2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system?? or sapevent:xxx?
3) Do we have to configure a transaction in the IMG to be launched with the attributes listed there? Do we have to link it to any classes/ objects?
4) Do we have to have the code to the logical link dynamically to call the right PDF for each table line? Is it right to put this code in my event handler?? Usually transaction launchers are just in the nav bar.....
5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
6) Do you have any code to just display a PDF in a new window? Or prompt a download?
One possible way I thought of would be for me to have a logical link defined in the IMG for the transaction launcher, and have the attributes defined for my BOR object that I would call, and pass it different attributes (eg. objtype, objkey, logsys...) and then return the PDF and display it in the UI in a new browser window by itself. (There is a BOR method for my BOR object named  'display_pdf'!!!!)
What do you think would be the optimal solution here? Does my theory of calling a BOR object with a transaction launcher to display a PDF make ANY sense whatsoever???
Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
Thank you in advance.
Best regards,
Jonathan Laplante
Edited by: Jonathan Laplante on Jul 2, 2011 4:50 AM

Hi Any help on this....I am still awaiting the response.
Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
Steps Performed:
I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
1) Defined logical system in tcode CRMS_IC_CROSS_SYS
-The logical link looks like this
http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
URL link here is
http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
-Note: My selection screen okcode os ONLI*
-The logical system ref is provided here
3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
5) Added this in the NAvlink/Bus Role etc
6) Now in the handler class of the TL the code looks like this:
IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
__gdc ?=
cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
__value
=
'ZC_TEST'.
add_parameter(
   iv_name =
'RS38M-PROGRAMM'
iv_value = __value ).
However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

Similar Messages

  • Authorization problem when using the Transaction Launcher

    Hi All,
    We have an authorization problem when we call a transaction (EL37) in ECC from the IC Web Client.
    We believe that we have done all the necessary customizing in CRM and when we press the link in the Navigation Bar we are asked to logon to our ECC system. After logging on, we get an error message saying that "You do not have authorization for transaction EL37". If I then enter the transaction directly in the white command field in top of the ECC screen, then I have no problem calling the transaction.
    My user has SAP_ALL, so it shouldn't be a problem with the authorizations. Maybe it has something to do with the transaction IC_LTXE? I have also tried to add this transaction to my user profile, but that didn't help.
    Does anyone have a suggestion for how to fix this problem?
    Kind Regards,
    Gitte.

    Hi,
    I have found the solution for the problem myself. The transation code in the Transation Launcher Wizard must be written in capitals! We had entered 'el37' and have now changed it to 'EL37'.
    Best Regards,
    Gitte.

  • CRM Specific Transaction Types in the Transaction Launcher

    I want to use the transaction launcher to create specific CRM transaction type (example: 0000 - Business Activity) logical links to be available for use in work center pages.  I would like the ability to directly create these transactions (from the work center page) instead of selecting the "Create" link and choosing from the list of available transactions.  Any suggestions?
    Thanks,
    Bryan

    Hi Bryan,
    You can do so by selecting/adjusting Direct Links under 'Adjust Direct Link Groups>Adjust Direct Link>Create' option for any selected business role. You can do this activity using Tx: CRMC_UI_PROFILE
    Hope this helps your query.
    Regards,
    Mohan

  • How to use Z transaction type while in the Transaction launcher Wizard?

    In SPRO->CRM->Transactions->Basic Settings->Define transaction Types I can see a whole host of Z transaction types.
    These define all sorts of business transaction defaults. Within the Transaction launcher Wizard there is a Transaction Type that can be entered, but I can only see three options, being 'BOR Transaction', 'URL Transaction' and ' M', for some reason. None of the transaction types shown in the above SPRO path are displayed.
    Does anyone know how I can use my Z transation type. These are used by the config behind the Action Boxes for the Winclient IC, but I can not get the Transaction launcher wizard to see or use these. The SAP How-to Guide to tha Transaction Launcher says that only BOR and URL Transactions can be used (unless you have IS-U). If this is true then how does one provide all the information provided by the Transaction type. The whole idea of the transaction type is default this information in one area.
    Anyone.
    Jason

    I think it is possible.
    In CRMC_UI_NBLINKS if you look at the logical links you can see that SRV-ORD-DC has a Parameter of 'SRVO' with a certain Parameter Class.
    If you were to check SPRO->CRM->Transactions_Basic Settings->Transaction Types  you will see that SRVO exists as an entry. This logical ink is therefore using this Transaction type to extract characteristics etc.
    Having said that, I need to call the sales order create with a certain transaction type, so I copied SLS-SLO-CR to a Z copy, added the Parameter of 'Z111' and also used the Parameter class of CL_CRM_UIU_BT_PARAM_CREATE.
    This should now, in theory all work, and show the exact same transaction in the Webclient IC as it does in the Winclient IC as they are both using the same Transaction type. However, the Webclient transaction looks different in terms of fields etc., so I don't think it's working. after all.
    Jason

  • Using table CRMC_PROC_TYPE within the transaction launcher...

    Table CRMC_PROC_TYPE contains all sorts of interesting fields, namely:
    Number range Internal
    Number rnage External
    User stat procedure
    Text Procedure
    Partner determination Pocedure
    Object type
    Time and Action profile
    Org Profile ID
    This table is used by the oler Action Boxes (forerunner to the transaction launcher).
    The key field for the above table is the Process type. I would like to forward the process type to the transaction and set this up within the transaction launcher, but so far all attempts have failed. The action boxes as used by the Winclient IC stil work, even in CRM 7, so one assumes that the same functionality can be configured in some way within the transaction launcher.
    I have found documentation, comments, guides on this subject, so this is my plea to anyone who may know how to achieve this.
    Jason

    hi anindya,
    the description of transaction type you can get it from table CRMC_PROC_TYPE_T
    just query to this table by the transaction type
    hopes it helps
    cheers

  • Transaction Launcher to call custom transaction

    Hi ,
    I have a requirement where i need to call a custom transaction using transaction launcher. I am able to successfully launch the transaction. But i need to pass a value to the transaction.
    For eg. If i am calling a custom report transaction which has a selection screen field 'FORMNAME' as a parameter i need to pass the name of the form to the transaction. I am not able to pass that value. Can any one help me onthis.
    I have seen all the posts , but could not get any help on how to set the value for custom transaction. I can see how it is done for standard transaction.
    Regards
    Ansari

    Hi Any help on this....I am still awaiting the response.
    Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
    Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
    Steps Performed:
    I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
    1) Defined logical system in tcode CRMS_IC_CROSS_SYS
    -The logical link looks like this
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
    2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
    URL link here is
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
    -Note: My selection screen okcode os ONLI*
    -The logical system ref is provided here
    3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
    4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
    5) Added this in the NAvlink/Bus Role etc
    6) Now in the handler class of the TL the code looks like this:
    IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    __value
    =
    'ZC_TEST'.
    add_parameter(
       iv_name =
    'RS38M-PROGRAMM'
    iv_value = __value ).
    However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

  • How do I create a new Work Center for the transaction launcher and links

    Hi
    The requirement here is for me to find out if I can create a new Work Center that will contain up to 6 assignment blocks and each block having either links to websites and BW reports, or triggers to R/3 applications via the transaction launcher.
    Can I do this purely through customising or do I need to create a new view using BSPs? If I can do it through customising please could I have a few pointers to what component I would need to use/copy?
    Regards
    Declan

    Hi Robert,
    Thanks again for taking the time to reply.
    Just so I understand, if I want to show a work center I need to link it to a component / view? I think this was the original query - do I need a developer to create the view that contains the 6 blocks with their links to reports, transactions and websites? I think when I talk about blocks I mean 1 viewset containing 6 views. There is no SAP standard view that would suit my requirements is there? Even if the work center had 8 views, I can always hide the two views in configuration.
    After the developer has created the view, I then reference that component in the target Id in the define logical links section of my work center.
    If my understanding is right, then it follows that it is not possible to create a user specific work center without some development.
    Is this correct?
    Cheers
    Declan

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • When am creating the material using the transaction MM01 getting the error

    Hi all,
      Could you please help me to solve this issue, When I am creating the material using the transaction MM01, am receiving the error message "Express document "Update was terminated" received from author "XXXXXXXX", I checked the in SM13 found error message showing in Z_LGPLA_BIN_POSTING.
    Regards,
    Muralikrsihna.

    ST22 Error is : SAPSQL_ARRAY_INSERT_DUPREC, below is full error message
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "Z_LGPLA_BIN_POSTING" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Regards,
    Muralikrishna

  • Error when releasing the WS using the transaction WSCONFIG

    Hello Colleagues,
    Following error message is recieved when i try to release the webservice using the transaction WSCONFIG.
    Error when creating Web service (Method call of IF_SRT_REGISTRY_ENTRY~CREATE_NEW failed; the class  does not exist)
    Can you please let me know if anyone of you have faced the similar error and have been successful in solving.
    Thanks & Best regards,
    Ajay

    Hi Ajay,
    Check if the thread below resolves your issue:
    [Re: web service - How activate host ?;
    Regards, Trevor

  • Problem with REVERSAL using the Transaction - FB08

    I have posted a document with document type ZA and when iam trying to reverse this document using FB08 it is giving the below error.
    ERROR: Enter Line item number.
    Please note that I have posted the ZA document directly in FI using the Transaction - F-02.
    Thanks in advance for the help.
    Regards
    Praveen.P

    Hi Praveen,
    For that issue go to OBA7 and check the document type ZA,In details Select check box for reversal and give the document type AB for reversal.check the document fb03.
    May be this information is useful to you
    If you have any doubt feel free to ask
    Regards
    Ritesh

  • I am  unable to load GRAPHIC files using the transaction SFP.

    I am  unable to load GRAPHIC files using the transaction SFP.
    The error message says that there is no connection to the below given url.
       http://<hostname:8000>/sap/bc/fp/
    is it something like i have to activate this service in transaction sicf ?

    Try http://<hostname:8000>/sap/bc/fp/!
    ! at the end ..
    Regards
    Juan

  • Delete the transferred values using the transaction for changing old assets

    how to Delete the transferred values using the transaction for changing old assets.
    i want delete the my asset.
    Thank you
    Anil

    Dear Anil,
    AS06                 Delete Asset Record/Mark for Delet.
    AS26                 Mark group asset for deletion     
    Hope this will help.
    Regards,
    Naveen.

  • Hello I have iPhone 4s, i'm trying to use the service under messaging called text message forwarding it's asking for a code?

    Hello I have iPhone 4s, i'm trying to use the service under messaging called text message forwarding it's asking for a code from my iPad. What code?
    I am getting iMessages going to my iPad but not my iPhone. I am hoping this feature will fix my issue. However I do not know where to get the "code" from my iPad.
    any idea?
    thank you
    I Have the 4th gen iPad, iPhone 4s and the latest iOS updates on both.

    Chrisj4203, thank you for your kind answer.
    I have done a lot of restores to the Iphone, and resets also.
    I;ve done holding both buttons as you sugested, but there is no signal appearing.
    I am in Uruguay, South America and the original company is Movistar ( Telefonica) and the new sim card is from ANTEL ( the officail and biggest company in my country).
    I don;t knoe what todo.
    I have been trying for more than one mont.
    I have gone several times to both companies. Aldo two times to Apple uruguay, and nobody can help me.

  • Has anybody used the transaction RSUOM in 2004s?

    Hello
    Has anybody used the transaction RSUOM in 2004s?
    Documentation found on help.sap.com states that this transaction can help dealing with alternate unit of measure conversion ("equivalent to currency conversion")
    I have created a quantity conversion type in RSUOM but I have not found how to use it - is it in the update rules or the Bex or somewhere else.
    Any thoughts?
    Thanks
    Ioan

    Hello Ioan,
    this functionality corresponds to currency conversion (and is implemented with a similar concept "conversion type"). Both unit conversions within one dimension (e.g. kg -> g) and e.g. material dependent conversions (e.g. kg -> palettes) are supported.
    Currently the conversion can be used within the new transformations and within a planning function. Interactive conversion in query/Bex is not yet supported.
    Regards
    Tobias Hagen

Maybe you are looking for

  • Oppening a dial up connection with Java

    How can I open a dial up connection using a java code ??

  • Very Urgent!!! - Attaching an instance of a Bus. Obj to _ADHOC_OBJECTS

    Hi Gurus, I have a requirement to display a link for an adobe form. For this, i created a step ( and task) through workflow wizard to create an instance of my custom BO (i made DISPLAY as its default method so that when clicked on it, it will display

  • Use of ANT

    Hi All, Could anyone please tell me the benefit of using the ANT tool. While programming in JAVA i don't remember using the make, jam etc,, Where do we actually use a build tool. And how is ANT useful relatively. If u could suggest any tutorial for a

  • Can you rename the destops in the misson control

    Can i rename the destops rather than having dashboard, destop1, destop2 etc. Can i name the destop1 to something else?

  • CUP - Unable to assign and delete role at the same time

    Hello everybody, I have an issue with CUP. Regarding a change account request, if I assign roles, it works. In the other hand, if I delete roles (also with a change account request) it works too. But if I mix both of them in the same request (assigni