INITIAL or NOT INITIAL

Hi Everyone,
I have a situation here.  The code goes like this.
In the below code, ZTEST-DECI is a Decimal type with length 11 and decimal 2.
PARAMETERS: p_deci TYPE ztest-deci. 
IF p_deci IS INITIAL.
  WRITE 'Empty'.
ELSE.
  WRITE p_deci.
ENDIF.
Now if I leave P_deci in Input screen blank then it will print "Empty", and if I give the input as 0.00 it still prints "Empty".
I do not want that to happen. I want it to print 0.00 as output if I give input as 0.00 or 0.
Note: I do not want to change the Dala Element of ZTEST-DECI or declaration of p_DECI. However, I am ready for Type Casting.
Thanks in advance,
S.Dakshna Nagaratnam.

I see what we are trying to do here...
my requirement is just that,
if I give 0 in the selection screen output should be 0.00
if I do not give anything in the selection screen it should print as Blank.
My requirement is a little complex and the issue is because of this. Hence I cannot change the declaration.
Can someone help me with a Logic using type casting or something? -> Type P and Type C in Typecasting no luck.
Thanks and Regards,
S.Dakshna Nagaratnam.

Similar Messages

  • HT3529 My wife and I both have an iphone.   We initially created it under her apple id.   We will receive each others text messages from certain people not all.   Any ideas why and what we can do to stop it

    My wife and I both have an iphone.  We initially set them up under one apple id account.  When we text sometimes we will receive each others text messages from others.   Example I will text a friend...she will not see my text but the reply comes to both of us.  It seems to be random which ones.  Any ideas how to correct this

    Yup, get your own AppleID.
    The messages that are being sent to both phones are technically not text, they are Apple's iMessage. They use the data part, not the texting part. So if you have an iPad or a Mac computer, you can send/receive the iMessages there too.
    KOT

  • Why is my adobe photoshop elements 12 not working. it says initializing and then it says there is an error and closes itself

    why is my adobe photoshop elements 12 not working. it says initializing then error and shuts itself down.

    Three things you can try:
    1. Clean the superdrive with a proprietory CD/DVD lens cleaner that uses tiny brushes.
    2. Perform an SMC reset:
    Resetting the SMC (System Management Controller) on Intel-based Macs:
    http://support.apple.com/kb/ht3964  and
    http://support.apple.com/kb/HT1237?viewlocale=en_US
    Resetting your Mac's PRAM and NVRAM:
    http://support.apple.com/kb/ht1379
    If you are using a Wireless Keyboard:
    http://support.apple.com/kb/TS3273
    3. Try the free DVD player VLC:
    http://www.videolan.org/vlc/
    which performs better than the built-in DVD Player.

  • Background Task running under initiator not under WF-BATCH

    Hi All,
      I am trying to resolve a problem with a Background task running under intiator. Since the initiator does not have authorization to execute the task, it is not working.
    My understanding was, all background tasks will run under WF-BATCH!!. Is it correct?.  in 4.7, it is working this way.
    However in ECC 6.00  the background task before the first dialog work item is executed under 'intiator' in this case.  I have moved the same task after first dialog work item, and it was executed under WF-BATCH.. I cannot move the task after the dialog workitem as the task need to be executed immediatly after the creation of workflow.
    1. How can I run the task in backgroud under WF-BATCH?
    2. Inside the task, I am running a BDC to update a flag in downpayment transaction created using F-47. How can I run the process under batch user to overcome the authorization issue that initiator will not authorization.
    I am running this workflow in SAP ECC 6.0 level 13
    Any help is really appreciated..
    thanks in advance for your help.
    johnson

    This issue can be resolved with triggering the event using the additional flag export parameter 'CREATOR' in function module  ''SWE_EVENT_CREATE_FOR_UPD_TASK' as WF-BATCH. I was not passing this parameter and hence it didn't work in ECC 6.0 as it take who ran the process as creator and ran the background task under that users id.
    Thanks Rachid for your input to resolve this problem.
    johnson zavier

  • What's the difference between a not-initialed object and a null object

    hi guys, i wanna know the difference between a not-initialed object and a null object.
    for eg.
    Car c1;
    Car c2 = null;after the 2 lines , 2 Car obj-referance have been created, but no Car obj.
    1.so c2 is not refering to any object, so where do we put the null?in the heap?
    2.as no c2 is not refering to any object, what's the difference between c2 and c1?
    3.and where we store the difference-information?in the heap?

    For local variables you can't have "Car c1;" the compiler will complain.That's not true. It will only complain if you try to use it without initializing it.
    You can have (never used, so compiler doesn't care):
    public void doSomething()
       Car c1;
       System.out.println("Hello");
    }or you can have (definitely initialized, so doesn't have to be initialized where declared):
    public void doSomething(boolean goldClubMember)
       Car c1;
       if (goldClubMember)
           c1 = new Car("Lexus");
       else
           c1 = new Car("Kia");
       System.out.println("You can rent a " + c1.getMake());
    }

  • Workflow created using sharepoint designer 2013 is not getting started and the initiator is Anonymous.

    Hi All,
    I have created a Site and List Workflow using SharePoint designer 2013, its a simple list workflow with one stage init on creating an item.
    When i verified the status of workflow its showing as initiator = Anonymous and Internal Status - Not started. Please a screen shot below
    Looking forward for your help.
    Thanks in Advance.
    Sunitha

    Below is the solution.
    Solution:.
    check
    list in workflow manager server  :
    1. Check https://[wfms]:12290 or http://[wfms]:12291 if they are responding 2. Check
    ”WorkflowMgmtPool” is started 3. Following services are running
    Workflow Manager Backend
    Service Bus Message Broker
    Service Bus Gateway
    Windows Fabric Host Service (FabricHostSvc)
    4. Get workflow farm information , workflow database  by  Start Workflow
    Manager PowerShell     get-WFfarm   5. Check if the Workflow Manager farm running(workflow service backend and  front end         should be rennin)  by  Start Workflow Manager
    PowerShell    get-WFfarmStatus
    6. Check oAut in accessible by http:// [wfms]:12291/$SYSTEM/$Metadata/json/1
    7. Restart the WorkflowServiceBackend service
    net stop WorkflowServiceBackend
    net start WorkflowServiceBackend
    Reference Link
    http://blogs.msdn.com/b/laleh/archive/2014/09/03/sharepoint-2013-workflow-troublehsooting.aspx
    Thanks all.
    Sunitha

  • ITunes accepts password for initial login but not for Match, account information or automatic downloads

    Hello all,
    I have an iMac with 2.0 Ghz core duo running Snow Leopard 10.6.8 and the latest iTunes 10.5.1.  iTunes will accept my initial login for purchases and access to the iTunes Store.  But if I attempt to access my account information, enable automatic downloads or iTunes Match, I get a login window that states, "Sign in required."  I enter in the correct password but iTunes does not allow me further access.  It just keeps giving me the same login window over and over.  It does not state that I have entered in the wrong password.
    I have attempted a few remedies, all without success:
    1.  Preferences>advanced>reset warnings and reset cache then restart.
    2.  User>library>preferences.  Placed plist preferences for iTunes in trash, then emptied trash.  Restart.
    3.  Reset password.
    4.  Trashed iTunes application, emptied trash.  Downloaded new copy of iTunes 10.5.1.  Restart.
    5.  Delete SC folder and restart computer.
    None of these attempts have fixed the problem.  I run the same software on my MacBook with a 2.4 GHz Core 2 Duo and I have full access without any problems on that computer.  The only problem is with the older iMac.
    Any tips or solutions would be most appreciated.
    Thanks.

    Well, no I haven't heard from Apple yet. But I'm slightly embarrassed. When I was told there was no way I could combine accounts, the friendly Apple lady suggested I change the ID on the old account to be similar to my new ID. I did that (and promptly forgot about it). Until just now. Once again, I'm able to update my Apps, but it's still annoying you can't combine accounts.
    More than slightly embarrassed,
    Chris

  • SOA_INFRA application not getting initialized when I start the soa_server

    Hi,
    I have created a Weblogic Domain, with SOA server and BAM server. After starting the Admin Server, when I start the Managed Server (soa_server). I get the following exception in the console:
    <Jan 21, 2011 8:38:09 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    ize the application 'soa-infra' due to error java.lang.ClassNotFoundException:
    avax.wsdl.WSDLException.
    java.lang.ClassNotFoundException: javax.wsdl.WSDLException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.wsdl.WSDLException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    >
    Though the soa_server is up and running I do not see the SOA tree structure of Farm_<domain_name> from the EM.
    Please advice as to what can be done to get the library having WSDLException class or is it someother problem ?

    Make sure that you have installed SOA 11.1.1.3.0 on Weblogic 10.3.3
    Post the version of softwares you have installed, here?
    Regards,
    Anuj

  • I have downloaded Firefox 6.. tried 7, and it will not connect once I attempt to open it initially. It comes up with blank boxes and notation states "waiting on firefox".. not sure what to do

    I had an issue with firefox opening zygna games on facebook last week. I uninstalled firefox and reloaded it. Actually tried it last week a few times and today tried Firefox 7 and then Firefox 6, which i now have on computer. When it goes to open initially, the screens come up blank. There is a little popup that I believe asks if i should set firefox as main browser, however no dialogue in the box. The notation on my computer says "waiting for firefox" and it just sits there.

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • Initial-page-number not working in RTF format output

    A report has a parameter for the page number to start with. In rtf template below code is present
    <?initial-page-number:xdoxslt:ifelse(P_FIRST_PAGE_NUM!=’’,number(P_FIRST_PAGE_NUM),1)?>
    The report page number starts with the value which we pass in p_first_page_num in PDF format but in rtf format output it always starts with 1.
    Is initial-page-number not supported in RTF format output ? If not then what is the alternative?

    the method u followed is fine as need a page number staring from a specify value which u input.
    @section is only for resetting page number to 1 for every group and for that pdf and ppt will be fine but only for rtf u need to use that ( pressing F9).
    u can use @section and initial page number combined but they give u same output as get now. rtf output wont support it will only reset 1 every time
    What ever u do rtf output wont support initial page number code ..........
    i mentioned that F9 work around to mention that it is the only work around u have upto now to control rtf output with regards to page number.
    Guru's correct me if i am wrong. wait for a day or two if some one from guru's confirm it .
    If u need real confirmation raise an SR oracle will let u know .

  • When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
    That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator.

  • HT204053 When I initially try to sign in to iCloud, I get the "Account not verified" screen and I am told to check my email for instructions to verify.  No email is ever sent. My ID and password work on all other Apple app's.  Why not for iCloud?

    When I initially try to sign in to iCloud, I get the "Account not verified" screen and I am told to check my email for instructions to verify.  No email is ever sent. My ID and password work on all other Apple app's.  Why not for iCloud?

    I've tried both. First, I tried on my pc, where iTunes had installed iCloud when it last updated. I have iTunes installed on this computer (and on my iPad and iPhone), but that wasn't the issue.
    So I went online, thinking I needed a separate iCloud Apple ID, but it prompted me for my current Apple ID and gave me the message about my ID being "valid" but not an iCloud account," which, lol, was what it had asked me to do in order to create one. I checked, and at least one other user is having the same issue. I'll attempt to copy/paste the Support request url: https://discussions.apple.com/thread/4430653?tstart=0
    Thank you for any help you can give.
    Trish

  • Photoshop Elements 10 Organizer wont open "DirectX is installed but could not be initialized. Reboot your system and relaunch Organizer"

    All of a sudden, I go to open Adobe Photoshop Elements 10 and get this message in a box:
    "DirectX is installed, but could not be initialized.  Please reboot your system and relaunch Organizer."
    Using Windows 7 Professional 64-bit, Office 2010 Home and Student on a Dell T3500 workstation with 3.20Ghz Xeon Processor, 12 GB Ram and a 2GB EVGA 650ti Boost graphics card.
    The only thing I can think of since the last time I used PSE10 Organizer was the October, 2014 Windows updates were installed.
    Any ideas anyone, Adobe seems fairly silent on this issue, and there is not much info out there on this for a Windows 7 Pro 64-bit system.
    Please help.

    All Windows OS updates installed, all Norton Internet Security updated daily.
    Went to Microsoft to try downloading DirectX just in case that was the problem, and they say you already have the newest version.
    Still receive the same message.  I'm at a loss, not sure what to do.

  • HT5622 I did not choose "use icloud" option for my initial setup.  so, it is creating for not enough space in my ipad.  How do I go back and set up icloud to store data?

    I did not choose "use icloud" option for storing during my initial setup.  How can I reset icloud account, so it can be used for storing.

    Welcome to Apple Support Communities
    If you are planning on using iCloud to store files, forget about iCloud and use a cloud storage service like SkyDrive or Dropbox. iCloud is focused on information sync between the iPhone, iPad, iPod touch, Mac and PC instead of storing files like MobileMe. It's not worth using iCloud for this.
    If you still want to set up iCloud, open Settings > iCloud, log in with your Apple ID and follow its steps

  • I have updated to maverick from mountain lion.initially my mac book pro was snow leopard.the multitrack touch pad swapping the page is not happening in finder,it is only working in safari.please help me how to get that swiping gesture in  finder

    i have updated to maverick from mountain lion.initially my mac book pro was snow leopard.the multitrack touch pad swapping the page to get back to previous page is not happening in finder,it is only working in safari.please help me how to get that swiping gesture in  finder

    Hi..
    I repled to you here >  https://discussions.apple.com/message/25598596#25598596
    Please do not start duplicate topics. It makes it that much harder to assist you.

  • HT1040 trying to make an ibook and have 800 photos, want format of 8 photos/page, but default is not that- "create" the initial book from iphoto "album" it loads less than 800 pics and then when i change layout i have blanks.

    trying to make an ibook and have 800 photos, want format of 8 photos/page, but default is not that- "create" the initial book from iphoto "album" it loads less than 800 pics and then when i change layout i have blanks.
    if i clear the book so that it is all blanks and then try to load in the pictures i have it loses the chronology of the pictures that i had established in the album.
    is there a way to import photos into an ibook template and keep the original order of the photos without having to do them one at a time?
    also, is there a way to insert a photo rather than just dragging it? i have tried the cut and paste funciton but it doesn't seem to work, the target site doesn't seem to register with iphoto.
    many thanks for your help.

    Photos are added to book in chronological order.  So if you want to add them to a book in the order you have placed them manually in an album do the following:
    1 - select all the photos in the album.
    2 - use the Photos ➙ Batch Change ➙ Date menu option as shown here. Select any date and add 1 minute between photos.
    3 - select just one photo from the album and create a book from it.
    4 - in the book click on the Options button ➙ Book Settings button and make sure the checkbox for Auto-layout pages is unchecked.
    5 - drag the album with your book photos onto the book icon and they will be imported into the Photos tray of the book in your pre-determined order but not into the pages themselves.
    OT

Maybe you are looking for

  • I want to eleminate the choice of history from the sidebar

    I don't want history to show as an option on the sidebar. Currently The choices are bookmarks and history. I want the options to allow bookmarks and related videos.

  • Showing text overflow in a long document

    Hi everyone, I'm creating a long document. I want to send a proof to a publisher, but a few pages contain too much text for the layout I created. I want to send the document as is, in pdf form, but want to show how much text cannot fit in these textb

  • Video files not playing in Mail Account

    Howdy A couple of days ago, video attachements that have been sent to my email account will not open. When they arrive, they look like they always have, i.e., they have the bar at the bottom with the tracking arrow, speaker for volumn, ect. Then all

  • Installing Oracle Personal edition

    Hi, I am Ritesh Kothari.Currently doing my MS in computer science from Ohio University. I want to install Oracle Personal Edition on my Win98 machine. Currently I have 1 GB of hard disk free.I have downloaded the Oracle9i Personal Edition Release 9.0

  • Coldfusion error displaying in Design view... ???

    This just popped up this morning: It's an error from a cfc I wrote. Why is this displaying in the Design View, and why is it there, especially when the cfc works correctly? To my knowledge, nothing has changed in flex Builder, but any help in removin