REPORT_OBJECT ¿how initialize it?

I am using REPORT_OBJECT to send report by FTP. Parameter 'Desname' in URL is one of most important to manage it. In order to make my forms flexible I storage in "Report Target Name" property, of my logical Report in the deployed tree of my Forms, the IP machine and directory, getting the report_name from a parameter sended thru a procedure:
ftp://anonymous:@10.13.217.30/ftps/ (value fixed in "Report Target Name" property)
It works fine the first call to RUN_REPORT_OBJECT but after the first one, the report name, storage in "Report Target Name" property doesn´t initialize to its initial value fixed with Forms. So, in the second call, is added the report_name parameter, putting by program, to the prior one existing before, and looks finally two times, sequentially. In order to watch the storaged value, I do next::
by program I do:
myname := SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME)||report_name:
message (‘myname: ‘)
and looks:
ftp://anonymous:@10.13.217.30/ftps/My_report_nameMy_report_name
I hope it´s been well described the problem.
Thanks and I´m looking forward to hearing about it.
Edited by: Castrillo on 17-oct-2011 3:33
Edited by: Castrillo on 17-oct-2011 3:44

myname := SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME)||report_name:I guess you mean GETREPORTOBJECT_PROPERTY?
It is not a good idea to hard code values like that in your form. What if the ftp server changes? You'll have to modify your forms code!
It is better to have system parameters stored in a database table, and retrieve them from there. Your code would be sometheting like:
select parameter_value
into v_ftp_destination
from parameter_table
where parameter = 'FTP_DEST';
myname := v_ftp_destination || report_name;
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, v_ftp_destination);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESNAME, myname);

Similar Messages

  • Problem in showing blank records in tableview.

    Hi All,
    The requirement is to show a tableview which is completely(contains no data in any cell) blank. The user enters data as free text.
    I managed to create an internal table with blank records and using it for the tableview so that the table view shows blank cells , where user can punch data.
    I need to do some validations if the cell is initial(user have not enterd any data and press the button)
    Now the problem is that , all cells conatin a SPACE (dont have an idea where it is coming from) and thus cells are not INITIAL.
    I tried using condense and replace all occurences of cl_abap_char_utilities=>cr_lf , but the space is not removed.
    Any one having any idea , why this space is coming or how INITIALIZE the work area.
    Regards,
    Anubhav

    Hi Vijay,
    The code is written in
    RENDER_CELL_START
    Code snipet:
    DATA: o_ip_desc TYPE REF TO cl_htmlb_inputfield,
                o_fr TYPE REF TO cl_bsp_find_and_replace,
                o_bee  TYPE REF TO cl_bsp_bee_table.
    DATA: find TYPE string.
      DATA: replace TYPE string.
    WHEN 'SLA_DESC' .
            CLEAR replace.
            CLEAR find.
            replace = `value=""` .
            find = `value=" "`  .  <---& n b s p(is displayed as space here)
            replace = replace.
            o_fr = cl_bsp_find_and_replace=>factory( find = find
                                                                      replace = replace
                                                                      mode =  `FIRST_OCCURRENCE` ).
            o_ip_desc = cl_htmlb_inputfield=>factory( id = p_cell_id
                                                      maxlength = '6'
                                                          size = '6'
            o_ip_desc->value = m_row_psc_main_ser->sla_desc.
            CREATE OBJECT o_bee.
            o_bee->add( level = 1 element = o_fr ).
            o_bee->add( level = 2 element = o_ip_desc ).
            p_replacement_bee = o_bee.
    Regards,
    Anubhav

  • TPM Inizializzation deployment question.

    Good morning,
    I have a big network with 200 Laptops all with Windows 7 32-bit version installed.
    Now i want to deploy bitlocker security with TPM,all this laptops have the TPM module but isn't enable.
    I read that i can deploy bitlocker but how can i initialize the TPM on all Laptop without a
    physically user interaction?
    I read that this is possible in Windows Vista. What about Windows 7? All this Laptops have the same brand (Lenovo).
    I hope someone can answer becouse i can't initialize TMP module
    physically on all Laptops.
    I'm really stuck on this.
    Thanks a lot in advance !!!

    First of all thanks for the reply.
    Sorry,Iexplained badly the problem.
    The TPM is enable but i dont know how initialize it.
    Thanks !!!

  • What data sources use for report which looks like tr. FS10N

    Hello,
    I would like to create report in BW which will looks like transaction FS10N (G/L account balance display). Can anybody give some tips which data sources I should use and how initialize these data sources?
    There is old genereal ledger in our system, so I suppose that I need data sources 0FI_GL_20 and 0FI_GL_21 but I don´t know how initialize it.
    Thanks for help.
    Regards,
    Karel

    Hi Suman,
    I asked because f.e. retail data sources 2LIS_03_BF or 2LIS_03_UM had to be initialize via tr. OLI1BW and OLIZBW. After that data sources were filled and then data could be loaded to BW by infopackages. But thanks for info that some data sources needn't initialization. By the way, is somewhere info about this (if data source need initialization and how find out transaction for initialization)? Thanks for advices.
    About data sources 0FI_GL_20 and 0FI_GL_21: We delayed this because there is needed to switch on function Reporting financials (tr. SFW5) and other things -> I didn't recieve confirming (from higher position) that I can switch it on
    Regards,
    Karel

  • Resetting Macbook

    Hi
    Ive owned my Macbook for about a year now and it is excellent. however it has started to get to the stage where its a tad ssssssssllllllllllooooooooooowwwwwwwwwwwww, both in start up time and program loading time. I use pretty hefty programs such as pro-tools le and Logic Pro 8 (pro audio software) which have eaten away at the internal hard drives storage from 100g to now little over 10g. i have a suspicion that there maybe a few unneeded files on my Mac which so far i haven't been able to get rid of. And ive just added Leopard to the mix which has REALLY slowed the whole thing down. I back up my mac to an external hard drive where I can (e.g. all iTunes music).
    would my best option be to:
    1. buy a RAM upgrade to give my mac more headroom (before the spinning pinwheel of doom sets in)?
    OR
    2. Some how initialize my mac and re-install only the programs i need?
    If the best option was number 2, how would i go about doing it?
    thanks (and sorry for the essay)

    Josh Rubner wrote:
    1. buy a RAM upgrade to give my mac more headroom (before the spinning pinwheel of doom sets in)?
    You really need to be running 2 GB in the Core Duo for the programs your running. That would help a lot.
    2. Some how initialize my mac and re-install only the programs i need?
    10 GB is not enough hard drive space for Leopard to run good with the programs your using. I would say you need a minimum of 20 GB to run efficiently.
    There is no reason to start over, unless you just want to. I do that about once a year myself.
    This should help get rid of some stuff.
    The XLab: Freeing space on your Mac OS X startup disk
    If you decide to reinstall Leopard to clean up your system I recommend an Archive and install. This should explain it Mac OS X: About the Archive and Install feature
    You would also be wise to do a custom install to get rid of all the extra language file, almost 2 GB , and printer drivers.

  • How to install InDesign CS6 from disk on a Windows 8.1 (64-bit) PC when installation fails after the first initialization of installation program, without error message?

    I have a (legally purchased) disc with InDesign CS6 that I want to install on a PC with Windows 8.1 (64-bit). After I've double-clicked the Set-up.exe file on the disc, a box is displayed showing the progress of the initialization of the installation program. When the coloured bar in the box is full – indicating that this step is completed – the installation stops and nothing more happens. No error messages are displayed.
    I can't find any useful instructions in the Adobe Help pages more than a note that there is support for also Windows 8.1 even though the system requirements printed on the disc box only lists Windows XP and Windows 7. I don't know how to make this work. Does anybody here have any suggestions? I'd be ever so grateful for any tips.

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

  • How to refresh/initialize sy-tabix in a loop?????

    Dear all,
    Please do let me know how to refresh/initialize 'sy-tabix' for every new document in a loop statement.
    Thanx in advance.
    Alok.

    Never try to refresh or initialize system variable. It shall always lead to errors in the programs. For this I have an alternative way below.
    Please declare a variable for e.g
    data: <b>l_count</b> type sy-tabix.
    Inside loop you can write the code like this:
    say for eg. you need to refresh l_count for every new material.
    Loop at itab.
    on change of itab-material.
    clear : l_count.
    endon.
    l_count = l_count + 1.
    endloop.
    Hope this clarifies your issue.
    Lakshminarayanan

  • How do you initialize audio player on iPhone 5s iOS8?

    I am trying to use Scan & Translate and Translate Photo but the error message that says "Unable to initialize audio player" comes up and cannot use those apps.
    How do you initialize audio player on iPhone 5s iOS 8?

    Ddeveloper has not updated their app since July.
    THey need to update to be ios 8 compatible.
    the popup you are getting is the app failing to work, not a direction for you to follow.

  • When I click on Print to print a pdf from my computer, the message "initialization of rasteurization module failed". What does this mean - how do I fix it?

    Why can't I print a pdf in Acrobat Pro? I keep getting the message "initialization of rasteurization module failed". What does that mean and how do I fix that?

    This is an Acrobat error ("Initialization of the rasterizer module failed.") but it is has never been reported before that I can see.
    Let's start with the basics.
    - What version of Acrobat Pro
    - What system
    - What printer
    - Does it happen with other printers?
    - Does it happen with all files?

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • How can I initialize an external hard drive when disk utility won't work?

    Have a Seagate 300 GB external firewire drive. Formatted it for Mac. Had worked great and then one day it would not mount, got message box with choices of "initialize", "ignore" and 'eject". Clicking initialize, disk utility comes up with only the "first aid" button showing active. When I click on it nothing happens. As far as I can tgell there are no other options
    Any suggestions on how I can repair this drive or recover data would be much appreciated.
    Thanks, Jim

    OK, I suspect First Aid may be blank since Disk Utility "sees" the device but does not think there's anything on it.
    1. How about if you select the drive and then click the Erase tab?
    2. Also, what happens if you connect the drive, select Ignore, then open Disk Utility? Does the drive show up?
    3. What's your objective here? Do you want to try to recover data from the drive, or simply erase it? If you're looking to recover data from the drive, see my "Data Recovery" FAQ.
    4. Do you know what happened before the problem arose? For example, was there a power outage or was the cable or drive suddenly disconnected before the drive was Ejected? Any of these events can result in the drive's partition map being corrupted, leading to the kind of problems you're seeing.
    5. Did you build this FireWire drive? That is, buy and enclosure, buy a drive, and install the latter in the former? If so, have you checked the connections?
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How do I use a runbook Activity on an Incident and Runbook Initialize Data activity to sync and get the GUid from the Incident?

    I currently have a runbook running every hour to attach Incidents Templates to Problems. I would like to just add a runbook activity to the Incident Template to activate the runbook, and only link that Incident to the problem it needs to be attached to. 
    I don't know how to set-up my Initialize Data activity in my runbook to load the calling Incidents GUID though. 
    I'm very new to Orchestrator, so please be detailed in your directions.
    The way my runbook works now is, I make my incident templates have the PR # they are for in the Alt Contact Block. My runbook searched for that, and then loads the PR# it has there and creates the relationship between the two, and then deletes that PR# so
    it doesnt hit on the next search.
    I would like my activity that calls the runbook to pass the Incident GUID to the runbook, so my runbook only has to query the PR# included in the incident, and create the relationship that way.
    Thanks for any help you can provide.

    This might help:
    Working With Relationships in the SCSM Orchestrator Integration Pack
    Basically, you'll receive the ID of the runbook automation activity from Service Manager, which you can then use with the Get Object and Get Relationship to get the runbook activity object, then get the incident object related to it. I realize this is confusing,
    but there should be more info out there to search on as well. Hope that helps.
    Noah Stahl | Automys |
    Downloadable Microsoft automation examples and solutions

  • How to initialize delta for a new data target

    Hi
    I have an ODS from which there are several other targets getting updated thru an export datasource. The delta initialization happend some 6 months back. I now have a new ODS into which i need to load the data from the original  ODS. How can i initialise the delta to my new target without changing the delta initialization of the other targets and continue the delta for all of them together?
    can i use the same initialization for my new target??
    If i do a full update and then a initialise w/o data transfer, will the further delta bring the data from the correct point, is there a possiblity of data loss??
    Regards,
    Sujai

    Hi Ajay,
    the steps are as follows.
    1 delete the initialization. open infopackage >> menu scheduler >> Initialization options for source systems >> delete the request thats there.
    2. Now go to the Update tab of the infopack >> select option Initialize Delta process >> check the option initialize without Data transfer
    3. Goto Schedule tab and start the job.
    here the data targets will be all the targets the infopack loads.
    4. Create a new infopack
    5. goto Data targets tab >> select data targets >> put a check on your new ODS/Cube
    6. Goto Update tab >> select the option Full update
    7. goto menu Scheduler >> select Repair full request >> put a check on Indicate request as Repair Request >> hit OK
    8. Goto schedule tab >> start the job.
    9. Continue with the existing Delta infopack that was load the old ODS/Cubes  and make sure your new ODS/Cube is also cheked for the delta.
    Regards
    Sujai

  • How to delete the Initialization records in  2LIS_03_BX

    BW3.5 - R/3 4.6c - LO-Cockpit - SCM Implementation - Inventory Management 0IC_C04 InfoCube.
    I wanted to use 2LIS_03_BX and RSA3 was showing zero records. I ran MCNB to collect records for this extract and it collected 815000 stock records. When I checked the extractor, I realized that the zero quantity records were not exactly what I was expecting for. I was looking for zero quantity records for valid/active bins. But it seems that we are receiving 100's of zero quantity record for every material that we don't really care for anylonger. I definitely want to see the zero quantities in case the bin is active but we've just run out of material.
    I turned off the zero quantity collection in MCNB but at the end of run, it only over writen the 815000 records rather than deleting them all and collecting about 70,000 entries as expected.
    My question is how can we delete the results of a previous initialization of open stock transfer structure (trans# MCNB)so I can run it again?
    I'll appreciate any hints or comments.
    Thanks a lot.
    Bilal

    Hi,
    I assume using OLIX, we will be able to delete the data from either 2LIS_03_BX or 2LIS_03_BF. As opposed to using LBWG, where if we select '03' the data is cleared off from the set up tables of both datasources.
    If that is true, could you please mention the 'Info structure' to be used in OLIX for 2LIS_03_BX and 2LIS_03_BF?
    Thanks a lot.
    Regards,
    Sri.

  • How to create a view with Oracle apps Org initialization ?

    Hi,
    How to create a view which needs Oracle apps org initialization to provide the correct data .
    The purpose of the view is to be accessed in Primavera DB via a DB link for reporting purpose.
    So how should the org be initialized so that the view returns the correct data when accessed from the remote data base using the DB link?
    EX: step1 run fnd_client_info.set_org_context for the org
    step2 query the veiw returns correct data in Oracle.
    How can this be achieved if the view needs to be accessed via DB link?
    sample view sql :
    select po_header_id
    from po_distributions_all pod
    where (apps.po_intg_document_funds_grp.get_active_encumbrance_func
    ('PO',
    pod.po_distribution_id
    ) <> 0
    Thanks in advance!
    Darshini

    Hi,
    This is not possible in Oracle. What u can do is create the view without the where clasue and supply the where clause at runtime.
    Hope this helps...
    Regards,
    Ganesh R

Maybe you are looking for

  • Array of clusters TAB next element

    I have an array of clusters and I want with the TAB key, when I am at the last element of the cluster i, move to the first element of the cluster i+1. Jean-Marc Jean-Marc LV2009 and LV2013 Free PDF Report with iTextSharp Attachments: Array of cluster

  • Camera Raw plugin grayed out?

    I'm trying to open my file in Camera Raw, but the option is grayed out and not available.  I've tried from both Bridge and PS.  Any idea what I'm doing wrong?  Ironically, I had Camera Raw open earlier, but now it's not working.  I've also tried rebo

  • Reporting: using operators with relative selection

    Dear all, i am facing an problem when trying to create a certain report. The requirement is to gather all opportunities for which the sales phase has started more than 1 month ago. Phase start date is a characteristic you can use using data sources f

  • Anti Virus program for Windows Conversion

    I am planning to put VMware Fusion onto my ProMac in order to transfer many of my former PC programs. Hearing that AVG was a very good Anti virus program, I e-mailed them about which of their products I could use. They informed me that they are not c

  • Documenting an XServe -managment reports

    Can anyone tell me how I can get reports form an xserver such as users and groups and share points? I need to provide regular management reports but I cant find an easy way to document this.