Placeholder or User Parameter receiving directly from a field.

I can place as well placeholder as much as user parameter inputs in my report. My issue is when query returns no rows, but I need to show in this case user input datas, and my variable(placeholder or user parameter) is just syncronized with user inputs. But I wanna to change value when no rows returned it shows user inputs, and when there are rows, show a field at query.
Assumed i.g:
SELECT NM_NAME FROM MY_TABLE WHERE NM_NAME = :NAME
I have one placeholder inside report margin that represents NAME.
When that query has rows, show QUERY FIELD, so... NM_NAME, when no rows returned, so show :NAME.
I´m not getting point how can I syncronize this with my issue, to contour this, I can create one extra query (same as mine main query) that return the value when there is rows to return.
What is the best maner to fix it?
I hope that my explanation was plain.
Regards!

I should use functions from the SRW package in a format trigger:
1. Create a field in the margin (layout).
2. Give it a source . eg. 'mode' or ' desformat' (just any of the system parameters)
3. Create a format trigger on this field with code (eg.):
function F_1FormatTrigger return boolean is
begin
if :P_parameter = 'Yes' then
srw.set_field_char(0,:Name);
else
srw.set_field_char(0,'other text');
end if;
return (TRUE);
end;
Hope this helps,
regards, Bart

Similar Messages

  • Retrieve XMLP documents directly from BLOB fields in E1; Tools Release 8.97

    Hi,
    I want to be able to retrieve XML Publisher reports (PDF, RTF, HTML) directly from the database BLOB fields in EnterpriseOne. Instead of making users manually save each report to get a soft-copy of the report, I wanted to be able to retrieve the reports from a BLOB field, create a new external file for it, and open the file with the related editor (MS Word, Adobe, IE, etc.).
    We are on Oracle 10g, and I was able to get a file populated with some BLOB data for a particular RTF file. However, when I try to open the file in MS Word, all I get is junk.
    Does anyone know if JDE stores these documents differently into BLOB fields than standard?
    Here is the code I used using PL/SQL...
    DECLARE
    xmlstr BLOB;
    warn VARCHAR2(400);
    v_file Utl_File.file_type;
    line_buf RAW(32767);
    maxbufsize BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset BINARY_INTEGER;
    dir varchar2(50) := 'XMLP_DIR';
    filename varchar2(50) := 'JPARK_TEST.rtf';
    bsize NUMBER;
    BEGIN
    v_file := utl_file.fopen(dir,filename,'wb',maxbufsize);
    SELECT xorpdxpblb INTO xmlstr FROM sy812.F95631 WHERE xorpdorgud = '2115630440008e-SMNQTWZCFI-YEKRWCIOUA';
    --SELECT xdrpdubblb INTO xmlstr FROM sy812.F95630 WHERE xdrpduogud = '21080156900001-SMNQTWZCFI-ORORNYFSYJ';
    bsize := dbms_lob.getLength(xmlstr);
    dbms_output.put_line(bsize);
    amount := maxbufsize;
    offset := 1;
    WHILE (offset<bsize) LOOP
    DBMS_LOB.read(xmlstr,amount,offset,line_buf);
    utl_file.put_raw(v_file,line_buf, TRUE);
    offset := offset+amount;
    --utl_file.fflush(v_file);
    --Dbms_Output.put_line(offset);
    END LOOP;
    utl_file.fclose(v_file);
    EXCEPTION
    WHEN OTHERS THEN
    UTL_FILE.FCLOSE_ALL;
    DBMS_OUTPUT.PUT_LINE('WHEN OTHERS');
    dbms_output.put_line(substr(sqlerrm,1,254));
    END;

    the database and blob fields are identical. In the 11i (eBusiness suite) we would store this information in fnd_lobs.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • User will receive notification from workflow?

    Dear,
    When buyer creates a new PO and needs to get approval from supervisor. Supervisor will receive an email from Oracle Workflow and the email includes the details PO information for supervisor reviewing.
    What setup I need to do?
    Thanks.

    Hi,
    You have not mentioned whether supervisor will approve through e-mail or from notification link. Approval is based on Employee-Supervisor or Position Hierarchy?
    Your question : Supervisor will receive an email from Oracle Workflow and the email includes the details PO information for supervisor reviewing..
    Ans : When supervisor click on the notification link which he/she received for PO approval, he will able to see a link "Edit document" in the approval notification..Supervisor can view the PO details before approving the same. Supervisor only can view the PO from this Edit document link only when he is assigned appropriate Purchasing responsibility to his User Id. This is an oracle Bug, supervisor can't view the PO details unless PO responsibility is assigned to him.
    Prerequisite for flow of notification:
    1) Notification mailer is up and running
    2) For testing Schedule "Workflow back ground Process" with last parameter as Y,N,N, Schedule it to execute for every 1 or 2 mins.
    Hope this helps
    Kind Regards,
    S.P DASH

  • PC user cannot receive video from iChat

    I am trying to send video to a PC (XP) user. I see that the newest PC version of AIM isn't compatible, so he opened 5.5 - in the newest version it kept wanting him to download something for a library then nothing would happen. My side just showed waiting ona response from him.
    When he opened 5.5 AIM he accepted the invite from me - and my showed showed the chat was starting but nothing ever happened after that. He even tried turning his firewall off to no avail.
    Are we missing something? I know this is a common problem with iChat and PC folks...but there has to be some way. We can chat through Yahoo, but it's pretty choppy video there - but it does work at least.
    Any help would be great!

    Hi Kellie,
    Any Firewall if it is ON is going to need the ports for iChat to be set up.
    See Pics of Mac Firewall here HAs instructions on the ports needed.
    The modem is also going to need these ports open. As Evan says the easiest way to do this is to use teh UPnP setting if you have it.
    As a Firtst choice Use this site for info only It has many devices listed and has pics and Default IPs and Passwords in the instructions. Often the pics will show you where UPnP is on youe device. If not the information will gain you access to the device. As a last resort it will tell you how to Port Forward.
    OF course the PC user also has to make sure the AIM application is Enabled through the PC firewall and thier Modem.
    7:34 PM Sunday; March 26, 2006

  • Android users cannot receive text from iPhone users fix help

    I currently switched from an iPhone to an Android phone and now all my friends who use an iPhone cannot send messages to me. I talked to a representative for Apple and they said that my friends had to delete my contact and then re make it so they could send messages to me. ıs there a quicker fix to it, I already turned off iMessage on my iPhone but it still doesn't work and does anyone know if they plan on fixing it.

    Your friends have to delete any old conversations they had started with you when you had an iPhone, and the new conversations should go out normally as text message.
    This assumes that you actually did disable iMessage prior to switching to Android.    You can confirm by asking anyone you know with an iPhone that doesn't have you as a contact to try sending you a text.

  • No problems with iPhoto 11,UNTIL I downloaded Lion. Now,I cannot e-mail from iPhoto. The "do not recognize user/password"message.I like to -mail directly from iPhoto,not Mail. Anyone having this problem? Thanks for the assistance

    My iPhoto e-mail has been working great;UNTIL I upgraded to Lion. Now,I cannot e-mail directly from iPhoto. I prefer to e-mail photos from iPhoto,not Mail. I sure appreciate anyone's help. Thanks

    1 - unless you tell us more then anything would be a wild guess - what happens? what error messages do you get?
    and why would you use iPhoto rather than Mail anyway - mail has more templates, has a sent mail box, uses you address book lists and lets you control the message format so PC users can receive photos - and works for everyone
    LN

  • Not receiving texts from iPhone contacts when I'm not connected to wifi or cell data. I can't send and receive regular SMS texts with non iMessage users but iMessage users message are not being converted to text when I don't have internet connect

    I can send and receive to any non iPhone user. I can send a message as a text to an iPhone user but if I'm not connected to cellular data or wifi I do not receive messages from iPhone contacts. From what I understand these message should automatically send to me as texts instead of iMessages but since the update it's not functioning properly. Please help. I've tried turning iMessage off and I still don't receive the messages until after I reconnect to wifi.

    I have the same problem! Before the upgrade, if I wasn't connected to the internet, any messages sent to me from an iphone would convert automatically to a text message. I have payg tarriff, so I turn cell data off, as it costs too much to use it. I have wifi at home and work, but if I'm out and about, I don't receive texts from iphone users until I'm on wifi. I get them ok from non iphone users. There was never any problem until ios7

  • I am having some trouble with receiving messages from iMessage users when I don't have my iMessage turned on. When I called for support, I spent 30 min waiting and the woman's response to me was "Turn on your iMessage." I prefer not to use it

    I have an iPhone 5s and a MacBook Pro. Ever since I updated my computer software to Yosemite, it linked my Apple ID with my phone number and I am not receiving messages from iMessage users on my phone, but rather to my computer. I don't like to use iMessage so I keep it off and would like to receive all messages as SMS texts. I have already tried changing my Apple ID password, logging off of my Apple ID in iMessage on my phone and turning it off, and changing settings on messages on my computer. Nothing is working. Either the messages continue to go to my computer or the messages trying to be sent say they cannot be sent.
    After spending 30 + minutes waiting for technical support, the woman helping me (who did not give me her name) told me I should just turn on iMessage. After explaining that I don't like having iMessage on and asking why it worked for at least a year up until this point she said "things change and sometimes we don't know why things do what they do". She asked me about various other things on my phone such as bluetooth and told me to turn on and off airplane mode and the call disconnected. I have not been contacted since, even though she has my phone number.
    I am hoping for some help and also hoping people don't get the type of service I received tonight.

    I think you can solve your problems by removing your AppleID email address from BOTH the Messages setting on your iPhone and the iMessages settings on your Mac.
    On iPhone:
    Settings > Messages > iMessage > Dissabled
    Settings > Messages > Send & Receive > touch the "(i)" < touch "Remove This Email"
    On Mac:
    Open "Messages" application
    Click "Messages menu > Preferences
    Click "Accounts"
    Select your AppleID account
    Under the "You can be reached for messages at" settings, uncheck your AppleID email address and your phone number
    Then uncheck the "Enable this account" setting
    And lastly, ask all of your friends with iPhones to delete all iMessage conversations (blue bubbles) in their entirety.
    To test, send a friend a new text using their phone number (not their email address) and watch the color of the bubble.  If it's green then you are using SMS.

  • After upgrading to Yosemite, I don't receive email from Gmail users

    Using a MacBook Pro, 2.8 GHz Intel Core 2 Duo, 8 GB RAM, 1 TB SSD internal hard drive.  OSX v10.10.2
    My primary email address is an .mac/.me/.icloud email address.
    Recently upgraded to Yosemite.  After doing so, I am having trouble receiving emails from Gmail users (I am not having trouble sending emails from my Gmail account, as many people have).
    I asked 8 of my friends with Gmail email addresses to email me a test.  I received 4 of these emails immediately after they were sent, the other 4 email took anywhere from 4 to 48 hours for me to receive.
    Anyone else have this problem, and if so, any solutions?  Any help is greatly appreciated.

    There have been various posts about delayed Gmail e-mail delivery to iCloud e-mail addresses, but so far, no solutions. Gmail uses a nonstandard form of IMAP e-mails, which may be causing the problem.

  • Still can't receive messages from Iphone Users

    Greetings,
    I know there are many topics asking similar questions if it's googled, and I think I have read through almost all of them to no prevail. I know veterans of these boards probably get tired of seeing the same topics, but im desperate and will try to keep it quick. I really appreciate any help.
    I recently upgraded from a 4S to a Galaxy S5 and have not been able to receive messages from Iphone users since. I still have my old Iphone. Here are the steps I've tried:
    1) Ensure "IMessage" is disabled in my old phone
    2) Unregistered my phone number with my Apple ID. I currently have no phone numbers registered with them
    3) Changed my Apple ID Password
    4) Unregistered my Iphone with my ITunes Account.
    5) I also have a Macbook Air and a 2010 model IMac. I have also ensured I am signed out on those devices and my phone number isn't linked in anyway I could find.
    6) I called Apple 3 Days ago and the representitive was very nice and professional but ultimately was incorrect. He advised me that the new IoS7 is more advanced and should check about every 12 hours to see if the user on the other end has an active IMessage account. He said to wait 24 hours just to be safe. He also advised people running older IOS systems could take up to 3-4 days to contact me correctly. Furthermore he said if after that time frame their phones still sent me IMessages instead of SMS then THEY were having problems and should call Apple. I just really doubt that is the case.
    I have tested it out with 5 Iphones now with help from some friends, all running IOS7 and still no luck 3 days after the phone call to Apple.
    7) I tried logging back into IMessage today on my Macbook and it worked, I was still able to send and receive texts from Iphone users. This seems like it should not be possible since it is not linked to my phone number anymore. It is logged into the same Email that I used to have linked to my phone number.
    Now as others have said, If I have them hold down the bubble and send as text message 3 times their phone will remember and keep sending my texts, however that is unreasonable to ask everyone to do. There should just be a way to completely delete your Apple ID. Is there anything I'm possibly overlooking? I really appreciate any help.

    I am right there with you. This describes my problem to a T. Only other issue I am having is group texts. Iphone users who include me in a group text still send as imessages as well, so even if I text them first and they reply, it send as an imessage. Get it together apple.

  • I keep getting this message from Imovie: Unable to prepare project for publishing. The project could not be prepared for publishing because an error occurred. (Error in user parameter list)

    I keep getting this message from Imovie:
    Unable to prepare project for publishing. The project could not be prepared for publishing because an error occurred. (Error in user parameter list)

    Bartirn,
    I called Apple under my Mac support contract.  They were completely unfamiliar with the error you and I were encountering.   Updating to 10.8.5 didn't help.
    I'm stopping my TimeCapsule while I perform these tasks, but I don't know yet if I have a consistent work-around.
    B

  • HT4061 I am receiving return e-mails saying undeliverable mail was sent using my e-mail addy as the "from" addy. It is spam mail and some has been sent to U.S. military. It is not coming directly from my e-mail/ i-cloud account. How do I stop it?

    I am receiving returne postmaster e-mails saying e-mails were not deliverable, and some say they were blocked as being spam mail because they were sent to U.S. military addresses. The e-mails are coming from an outside source and are not being sent directly from my e-mail, but whoever is doing it is putty my address in as the sender. How do I stop this?

    at this point the best you could do would be to delete your email account, or ignore the emails

  • E payment should be enabled so that the user could make payment directly from SAP and after the payment is verified ,approved and authorized by the concerned users responsible the payment should be electronically transferred to the payee's bank account th

    E payment should be enabled so that the user could make payment directly from SAP and after the payment is verified ,approved and authorized by the concerned users responsible the payment should be electronically transferred to the payee’s bank account through our bank.

    Thanks,
    I usually use the OS connection option. So as you suggest, connect without the ISP connection software.  Doing so does not by-pass the sudo command being active in Activity Monitor however. 
    On reading my post I see my failure to link the concerns of the laptop purchase with the sudo and modem. My thought here is of an intersection of known vulnerability with this widely used modem/software (via permanent sudo process activated) and that vulnerability then being known and utilised by another party(s).
    I am pursuing the issue in part with consideration to a broader possible issue of vulnerability.
    Thanks again for your thoughts and suggestions. Valued.

  • SharePoint 2010 User Integration with Exchange 2010 New Users Created as Hidden and Later Unhidden not receiving email from SharePoint

    When we have a new employee transfer to us from another department, their email is created and hidden until they actually make the transfer so they don't have two different email addresses in our global address list.  When the transfer is made, the
    email address is unhidden, but then we are unable to send emails to them from sharepoint 2010 without doing an IISReset.  We are using Exchange 2010.  Does anyone have suggestions on how to alleviate this issue?

    Hi,
    I have done a test, no matter the email address is hidden or not, we can both send email to the email address in the same domain.
    How was the new employee from another department transferred to your department?
    Whether sending emails to them need do an IIS Reset everytime.
    Here is a similar post, you can take a look at:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/6a9043bb-2055-46a9-8e76-8b2698c1dbe5/user-not-receiving-sharepoint-emails
    Best Regards,
    Lisa Chen

  • Suddenly User is receiving bulk mails from Groupware

    Hai Gurus,
    Suddenly my User is receiving bulk mails from Groupware User and the message is showing that
    Appointment deleted for you
    Transaction is rejected in CRM online
    I have found that the BDocs are rejected. Can anyone help me out in this?

    Hai Pratima,
    Check in Groupware connector administrative tool if the email id is locked under 'Current Locks'.If it is locked then you may have to unlock this id .
    Have you checked again if the same email id is locked? If yes, then first you must find out the root casue why its getting locked.
    Anyway do let me know once you get a reply.
    after doing this also the mails are reproducing, so we have raised message to SAP for resolution. Waiting for SAP response.....

Maybe you are looking for

  • How i  'fixed' my ipod due to the itunes problem

    Okay, many of you have the same problem as i had, where suddenly the computer\itunes\updater wont detect your ipod. These are the steps i took to finally solve my problem this morning. -Try restarting Ipod by turning hold switch on/off and pressing d

  • Payload involving BPM does not display in RWB

    HI I have two scenarios one with BPM and another without BPM. Both work fine end to end. For the non BPM scenario I am able to display the message content>payload on the details page of RWB. But I am not able to see the payload in any of the steps fo

  • Are others having issues with downloading purchased TV programs after updating to IOS 7.1.2?

    I have tried to download 3 purchased tv series this morning.  They each get to about 1 minute remaining and then start over again.  I recently updated to IOS 7.1.2 on my iPad.  Is this the reason I'm having this issue?

  • Unicode Conversion : Import Error in ABAP  SAPCLUST Error

    Hi I am doing the unicode conversion .. The export of the database is successful.. But during the import it is giving an error. Export is done as per note  552464 (Code Page 4103) Platform is windows server 2003 / Oracle 10.2 Loading of 'SAPCLUST' im

  • Smart List Question

    Is there a way to automatically create a smart list for all artists without doing it manually?