How to open a Promotion from an ABAP report/program?

Hello SDN,
I have a normal ABAP report and would like to open a specific promotion (markteing project) after a PAI event.
I know it is the OBJTYPE=BUS2010030 (the businesspartner is objtype BUS1006), but how can I open it?
Regards from Germany,
Friederike

The solution:
DATA: lt_time   TYPE crmt_mktpl_cldr_time_ranges,
      lo_tpm    TYPE REF TO cl_crm_mktpl_cldr_data,
     prom_guid TYPE cgpl_guid16.
  CREATE OBJECT lo_tpm
  EXPORTING
    im_add_periods = lt_time.
Jump to the Marketing Planner
  CALL METHOD lo_tpm->navigate_to_object
    EXPORTING
      im_data_object = promotion_guid.

Similar Messages

  • How to open a Trade Promotion from an ABAP report/program?

    Hello SDN Community,
    i try to open a spezific Trade Promotion to read an addional customized time_period field in a a badi. I have the promotion guid and i played around with mkt_element_read but the additional time fields are not included/transfered.
    How can i do that?
    Thanks in advance, tom

    Hi Tom.
    Did you get something on this?
    Can anybody help to solve this issue?
    Thanks in advance!!
    Guillermo

  • How to open a form from Oracle XML Report .xls Output?

    Hi All,
    We have a requirement wherein we have one complex SQL query, requirement is to fetch the data from that query and show it to the user. So far, so good. We can either create a report thru' UTL file to show the output to the user or can create a XML report whose output can be in the excel format.
    Now user wants to have a hyperlink i.e. when he clicks the BSA (Blanket Sales Agreement) from the report output, it should be able to route him to BSA screen (oracle form), so that he can directly correct the issue with that corresponding BSA on which he clicked.
    i.e. requirement is to create a a hyperlink from report output which will route the user to that oracle form with the BSA queried.
    Not sure how can we implement this. If anybody has come across this type of requirement, please share your ideas and the approach used so as to accomplish this. Any inputs on this will be highly appreciated.
    Cheers!
    -Sumir

    Hello Sumir,
    we create reports in an XML format using http://matzberger.de/oracle/spreadsheet-en.html.
    Within these files you can create hyperlinks to a forms application like
    http://<applicationserver>/forms/frmservlet?config=xy&p_autoinit_module=ab&p_autoinit_arg=123
    With these parameters we call a default forms module (welcome screen) and then start module ab and execute a query for 123. The user then can directly access the data he needs.
    Regards
    Marcus

  • How to open new window and generate oracle report from apex

    Hi,
    I had created an application that generates PDF files using Oracle Reports, following this Guide.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    And I followed 'Advanced Technique', so that users can't generate PDF file by changing URL and parameters. This is done for security reasons.
    But in this tutorial, when 'Go' button is pressed, the PDF file is displayed on the same window of apex application. If so, user might close the window by mistake. In order to avoid this, another window have to be opened.
    So, I put this code in the BRANCH - URL Target. (Note that this is not in Optional URL Redirect in the button property, but the branch which is called by the button.)
    javascript:popupURL('&REPORTS_URL.quotation&P2100_REP_JOB_ID.')
    But if the button is pressed, I get this error.
    ERR-1777: Page 2100 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    If I put the code 'javascritpt ....' in the Optional URL Redirect, another window opens successfully, but the Process to generate report job is not executed.
    Does anyone know how to open new window from the Branch in this case?

    G'day Shohei,
    Try putting your javascript into your plsql process using the htp.p(); procedure.
    For example, something along these lines should do it:
    BEGIN
    -- Your other process code goes here...
    htp.p('<script type="javascript/text">');
    htp.p('popupURL("&REPORTS_URL.quotation&P2100_REP_JOB_ID.")');
    htp.p('</script>');
    END;
    What happens is the javascript is browser based whereas your plsql process is server based and so if you put the javascript into your button item Optional URL Redirect it is executed prior to getting to the page plsql process and therefore it will never execute the process. When you have it in your branch which normally follows the processes, control has been handed to the server and the javascript cannot be executed and so your page throws the error "Page 2100 provided no page to branch to"... By "seeding" the plsql process with the embedded javascript in the htp.p() procedure you can achieve the desired result. You could also have it as a separate process also as long as it is sequenced correctly to follow your other process.
    HTH
    Cheers,
    Mike

  • How to open "All Tabs" from previously shown pages history?

    Hi,
    How to open "All Tabs" from previously shown pages history. I am not asking about "Reopen from last session". I am asking about how to open all tabs from previous webpage links from a past date from history, currently its allowing me to select each page link manually by clicking it.
    Thank you!

    Select the first item you wish to open, scroll down to the last, Shift-click that one & all those between should be selected too. Double-click on them & they should all start to open... or you can copy & then drag/paste into a new or existing bookmarks folder.

  • How to open web pages from japplet??

    Hi
    Does anybody know how to open web pages from java japplet??
    Any help is apreciated!
    zick

    the getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
    check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
    have a good one :)
    Jay

  • How to open a pdf from pdf target with page no using javascript

    Hi
    How to open a pdf from pdf target with page no using javascript
    Thanks in Advance.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • How to open an Applet from a text link in a HTML Page

    Hi There
    How to open an Applet from a text link
    in a HTML page
    For example I have a HyperLink "Open Applet"
    When a user clicks that link i want to open a
    Applet in a AWT Window.
    How can i do this
    Will any one help me?
    -Ramya

    u can use javascript for that
    <SCRIPT language="javascript">
    function loadAppNow() {
    document.write("<APPLET ......></APPLET>")
    </SCRIPT>
    LoadApplet
    this will overwrite the applet on current window
    There are many good ways other than document.write to open in same window. I don't remember the syntax right now.
    Plz. refer to javascript tutorial for that.
    even you can insert the applet while retaining previous contents. its quite easy actually.
    regards....bhart

  • How to open a RPD, from a linux folder? OBIEE 11g

    Hi,
    How to open a RPD, from a linux folder? Is there a tool, or any command line command to open the RPD?
    Thanks for your time and help.

    Hi,
    You cannot open an rpd on a Linux manchine.
    You have to install the client (Admin tool) on windows and open the rpd remotely in online mode
    Thanks
    Deva

  • TS4256 How to open .RAF files from Fuji camera?

    How to open .RAF files from Fuji camera in Aperture 3?

    Only these Fuji cameras are currently supported: http://www.apple.com/aperture/specs/raw.html
    Fujifilm
    FinePix S2 Pro
    FinePix S3 Pro
    FinePix S5 Pro
    FinePix X100**
    X-Pro1***
    X-A1***
    X-E1***
    X-E2***
    X-M1***
    X-T1***
    X20***
    X100S***
    If you have a different camera, use the software that came with your camera to develope the RAW files and convert them to a different lossless format, that Aperture recognizes.

  • Export data from the R/3 system from a ABAP report to BW system

    Hi Everyone,
    I have requirement to export data from the R/3 system from a ABAP report to BW system.
    Currently we are planning to create a Ztable to put the data into that, but I would like to know , is there a better way to do instead of going for a Ztable.
    Regards,
    Shobana.K

    Hi Shobha,
    In the second option as you mentioned sending the data to BI.
    1. Check when u click on second  option what is the target details that is showing?( Menas suppose if you send the data using Open Hub u will find the options like FF,Otherparty,etcc...).
    2. As you mentioned if you have option to upload the data to Table.Then you can load and u can create the Generic DS.
    Issues & Concern
                1. Need to think how the data will be poplated(Means how are going to maintain Delta info records table level before
                   populating to it)
                 2. whether Ztable should be refreshed before updating R/3 report data to Ztable.
    Based on the concerns verify your scenario.If  everything ok then u can proceed as per u r plan.
    Regards
    Ram.

  • How to schedule an abap report program to run every day, weekend etc..

    Hi,
    I want to schedule an abap report program to run every day, week, fortnight or month and the output to be redirected to the printer. How to achieve this ?
    thanks

    Hi,
    go to t.code sm36 there give the name of the program which u want to eecute in background if u want u can give periodic that depends upon ur requirement from there in sm37 u can check the stauts and directly print from there
    hope i am clear to u
    plzz reward if it is useful...

  • How to open, edit and compile the order import program.

    Order import program deletes the so_header_interface_all and so_lines_interface_all tables after importing, I want to avoid deleting the interface tables.
    Please ket me know in detail how to comment the delete statement in the order import program.
    I want to know how to open, edit and compile the order import program.
    Thanks,
    Previn

    While you can access the OLE objects in C#.NET, the JSObject was designed as a bridge to VB.NET. Since the real power of what you can do with Acrobat automation comes from the JSObject, it would be very difficult to do that you want from C#.NET - or you would at least be limited in what you can do beyond basic functionality.
    Also, a full version of Adobe Acrobat Standard or Professional would need to be installed on each client system. Reader will not work for what you want to do. Each end user running your application will require an installation of Acrobat.

  • How do I convert pics from old Adobe Photoshop program on cd in pdd to jpeg?

    I have cds with pdd pics from my old (1999) Adobe Photoshop program.  My system won't open them.  I now have Photoshop Elements 8.  I can go to Organize and get photos from the cd.  They are in my catalog and I can open them there.
    How do I convert them to jpeg?
    When I go to Edit, I can't find my photos in the catalog.  I only find the new pics in my Photo Gallery that are already jpeg.
    I feel as though I'm missing something simple.  Can someone help me?

    Thanks for your response.  I did get a way to do it with the software I already have.
    Date: Thu, 27 May 2010 00:15:37 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do I convert pics from old Adobe Photoshop program on cd in pdd to jpeg?
    There's a utility called "Image Converter Plus" that can do this for you.  They modestly calls it "the best image converter in the industry.  You can see their web site at:  http://www.imageconverterplus.com/help-center/work-with-icp/examples/how-to-convert/PDD_jp g.html .
    Here's from their web site:
    h1. How to convert PDD to JPG
    Converting PDD to JPG is very easy with Image Converter Plus. In Windows Explorer, select a PDD image and click your right mouse button. In the context menu, select Convert to submenu and click Custom convert line.
    ==========
    This seems to be exactly what you want.
    Since they have a separate "download" and "purchase" section, it's not clear to me if you have to pay the $49 license fee to use the utility.  You may have to purchase the license to get batch processing. 
    Even if you do have to pay, my philosophy in life is that if someone can rescue some important pictures with their $49 utility, then it's worth the price.
    >

  • How to open a link in an interactive report?

    Hi all,
    we have an interactive report which displays in one column an url.
    If the url is formatted like this 'http://www.test.com', the link can be opened within the interactive report, when it is formatted like 'www.test.com', without the 'http', it can't be openend.
    Is there any possibility that links with 'www.test.com' can be opened as well from the interactive report or do we have to mass update this column on database side?
    Thank you very much!
    BR

    Hi,
    You can modifiy the query of to incorporate http:// to the url name
    select a , b , c , decode(substr( url_filed ,1 , 4), 'http', url_filed, 'http://' || url_filed) from table name

Maybe you are looking for

  • Retain the metadata associated with a doc after conversion to pdf

    I am using word automation service to convert word document to a pdf in a sharepoint 2010 document library. however after the conversion of the document from word to pdf the associated metadata is lost. (i.e the converted document which is added to t

  • Lightweight qt music player?

    i'm looking for a simple, fast, lightweight qt music player, basically something like foobar2000. i've tried qmmp, but it scans my music directory on startup and takes an exceedingly long time to load. at the moment, i'm using juk, but it's buggy (sl

  • Connection to computer keeps playing up!

    right now, my ipod nano doesn't seem to be charging, and it does not appear in device manager, my computer, or itunes 7.0.2.16. i tried plugging it into different usb ports, but it still didn't work. by the way, it is a 40 degree day. would that imac

  • Currency Code

    I have a simple data form that has saved assumptions currency accounts, saved assumptions non - currency and some revenue currency accounts. I have unchecked Allow multiple currencies per entity and unchecked Show currency codes in the data form desi

  • There is a constant "Download error" in the apps section of CC

    can not download any apps in CC