NEED ONE HELP

1.In flatfile if u find decimals how will u face it?
2.Regarding 'for all entries' keyword: The select stmt which
contains 'for all entries' keyword it compares its internal table
(jtab) with for all entries of internal table(itab) in prior select
stmt . then if suppose itab contains no entries, when we checked with
where condition then what does the for all entries select stmt
compares?

Hi..
These are the solutions.
1.In flatfile if u find decimals how will u face it?
<b>Declare the internal table fields as Character fields while uploading data from Flatfile. Even if there is a Decimal field , Read it into Character field.
After that you can convert into Decimal again.</b>
2.Regarding 'for all entries' keyword: The select stmt which
contains 'for all entries' keyword it compares its internal table
(jtab) with for all entries of internal table(itab) in prior select
stmt . then if suppose itab contains no entries, when we checked with
where condition then what does the for all entries select stmt
compares?
<b>When the Driver table itab contains no Records it will intrepret like All records .
So it will fetch all records from the Table.
That's why we must check whether the driver table is empty before using FOR ALL ENTRIES.</b>
<b>Reward if Helpful.</b>

Similar Messages

  • I need one helps  please

    I need one helps I am implementing a tree of navigation of km with java vestibule and have a problem, when I request to him to this that orders with respect to a metadata or reality with any criterion this always takes the folders and it orders them and later it takes the Links and you order them, and the truth that I need that it does not make that distinction single that orders by the metadata that does not take in whatever if it is Link or folder
    here the code goes that I am using to see if to somebody something is happened to him:
    import bean.NavigationTree;
    import com.sapportals.htmlb.TreeNode;
    import com.sapportals.htmlb.enum.ResourceType;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentContext;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    import com.sapportals.portal.prt.component.IPortalComponentURI;
    import com.sapportals.portal.prt.session.IUserContext;
    import com.sapportals.portal.security.usermanagement.IUser;
    import com.sapportals.wcm.repository.ICollection;
    import com.sapportals.wcm.repository.IProperty;
    import com.sapportals.wcm.repository.IPropertyName;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.IResourceList;
    import com.sapportals.wcm.repository.PropertyName;
    import com.sapportals.wcm.repository.ResourceContext;
    import com.sapportals.wcm.repository.ResourceException;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.repository.ResourcePropertyComparator;
    import com.sapportals.wcm.repository.enum.OrderType;
    import com.sapportals.wcm.util.uri.RID;
    //import com.sapportals.wcm.util.usermanagement.WPUMFactory;
    Title:        Navigation in KM repository with DynPage and JSP<br>
    Description:  Basic navigation.<br>
    Copyright:    Copyright (c) 2006<br>
    Company:      AGILE<br>
    @author Juan Solar
    public class Neo extends PageProcessorComponent {
         public DynPage getPage() {
              return new NeoDynPage();
         public class NeoDynPage extends JSPDynPage {
              public String pathInitial = "/documents/eo";
              public String pathDocument = "";
              private String kmNavigation = "";
              private String kmViewDoc = "";
              //          private String pictFolder = "/irj/portalapps/com.sap.portal.pcm.admin.plainfolder_converter/images/folder.gif";
              public IPortalComponentRequest request;
              public IPortalComponentResponse response;
              public IPortalComponentProfile profile;
              private NavigationTree treeBean;
              private IUser user;
              private IResourceList reslist;
              private int nodeCount;
              String TITLE = "TOrder";
              String NAMESPACE = "http://sapportals.com/xmlns/cm";
              String selectedTitle = "";
              public void doInitialization() throws PageException {
                   request = (IPortalComponentRequest) this.getRequest();
                   response = (IPortalComponentResponse) this.getResponse();
                   treeBean = new NavigationTree();
                   IPortalComponentContext myContext = request.getComponentContext();
                   profile = myContext.getProfile();
                   IPortalComponentURI componentURI =
                        request.createPortalComponentURI();
                   componentURI.setContextName("com.sap.km.cm.navigation");
                   kmNavigation = componentURI.toString();
                   componentURI.setContextName("com.sap.km.cm.docs");
                   selectedTitle = "";
                   kmViewDoc = componentURI.toString();
                   nodeCount = 0;
                   try {
                        //               pathInitial = profile.getProperty("pathInitial");
                        //                    user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
                        user = getPortalUser(request);
                        ResourceContext ctxt = new ResourceContext(user);
                        RID rid = RID.getRID(pathInitial);
                        IResource resource =ResourceFactory.getInstance().getResource(rid, ctxt);
                        ICollection collection = (ICollection) resource;
                        reslist = collection.getChildren();
                   } catch (Exception e) {
                        response.write(e.getMessage());
              public void doProcessAfterInput() throws PageException {
              public void doProcessBeforeOutput() throws PageException {
                   TreeNode root = new TreeNode("rootNode", "root");
                   //               List tmp=(List)root;
                   //               Collections.sort(tmp);
                   root.setOpen(true);
                   try {
                        add_node(reslist, root);
                   } catch (ResourceException e) {
                        e.printStackTrace();
                   treeBean.setOutput("");
                   treeBean.setTree(root);
                   // set bean in servlet request - it will be used by the jsp afterwards
                   request.getServletRequest().setAttribute("neoTreeBean", treeBean);
                   this.setJspName("neotree.jsp");
              private String getSelectedTitle() {
                   return selectedTitle;
              //          public String getSelectedTitle(){
              //          Esta es una funcion alternativa para porder cambiar el criterio de ordenamiento del recurso lista
              private void sortResouceList(IResourceList resourceList,String orderBy)     throws Exception {
                   //create property names to index properties
                   IPropertyName iPropSort = new PropertyName("http://sapportals.com/xmlns/cm", orderBy);
                   //             create a comparator to order the resource list
                   ResourcePropertyComparator rRPC =new ResourcePropertyComparator(iPropSort, true);
                   //           order the resource list
                   resourceList.sort(rRPC);
              private String getPropertyValue(IPropertyName iname,IResource resource)throws ResourceException {
                   String value = "";
                   //               String namespace = "http://com.sap.netweaver.bc.rf.sample/xmlns/sample";
                   //               String name = "Order";
                   //               IPropertyName propertyName = new PropertyName(namespace, name);
                   IProperty property = resource.getProperty(iname); //propertyName
                   if (property != null) {
                        // property exists
                        value = property.getValueAsString();
                   } else {
                        // property is not set for this resource
                   return value;
    @param reslist      IResourceList
    @param root         TreeNode
              private void add_node(IResourceList list, TreeNode parentNode)
                   throws ResourceException {
                   //new add_node().doit();
                   String title;
                   String name;
                   String label;
                   String path;
                   IResourceList tmpreslist;
                   ICollection tmpcollection;
                   IPropertyName iProperty;
                   try {
                        sortResouceList(list,"displayname"); //, "Order"
                   } catch (Exception e) {
                        e.printStackTrace();
                   boolean first = true;
                   for (int i = 0; i < list.size(); i++) {
                        IResource tmpres = list.get(i);
                        String     rType= tmpres.getResourceType();
                        iProperty =     new PropertyName("http://sapportals.com/xmlns/cm", "displayname");//, "Order"
                        try {
                             name = tmpres.getName();
                             title = tmpres.getDisplayName();
                             title = (title.equals("") || title == null) ? name : title;
                             path = tmpres.getAccessRID().getPath();
                             if (tmpres.isCollection() && !tmpres.isHidden()) {
                                  tmpcollection = (ICollection) tmpres;
    //                              if (tmpcollection.getChildren().size() > 0) {
                                       TreeNode node =     new TreeNode(Integer.toString(nodeCount++),title,parentNode);
                                       node.setTooltip(name);     //
    //                                   if (order==null || (order!=null && order.equals(""))) {
    //                                        label = "<a class=urLnk href=\"javascript:nada();\" onclick=\"alert('";
    //                                        label ="Folder "node.getText()+" has not set the Order Metadata!! ";               // path;
    //                                        label += "');\">" + node.getText() + "</a>";
    //                                        node.setText(label);
    //                                   } else{
                                            tmpreslist = tmpcollection.getChildren();
                                            add_node(tmpreslist, node);
                             } else {
                                  if (first) {
                                       label =     "<a class=urLnk href=\"javascript:nada();\" onclick=\"goNavigate('";
                                       label += path;
                                       label += "');\">" + parentNode.getText() + "</a>";
                                       parentNode.setText(label);
                                       first = false;
                                  TreeNode node =     new TreeNode(Integer.toString(nodeCount++),title,parentNode);
                                  node.setTooltip(name);     //
                                  label ="<a class=urLnk href=\"javascript:nada();\" onclick=\"goNavigate('";
                                  label += path;
                                  label += "');\">" + node.getText() + "</a>";
                                  node.setText(label);
                        } catch (Exception ex) {
                             IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
              //          href=\"javascript:void(0)          "<a target=\"itoptarget\"                     href=\""kmViewDocpath+"\"          
    Returns the IUser object.<br><     
    @param request
    @return user
              public IUser getPortalUser(IPortalComponentRequest request) {
                   //               user = WPUMFactory.getServiceUserFactory().getServiceUser("service_user_id");
                   IUserContext uc = request.getUser();
                   user = (IUser) uc.getUser();
                   return user;

    Click here for information. If you can't get the answers emailed to you for some reason(the email may take a few hours to arrive), contact the iTunes Store staff via the link in that article.
    (87419)

  • I need help with something could some one help me with installing windows 7 on bootcamp 4.0 with iMac 2.8 ghz model

    could some one help me with something important i have a 2.8 ghz intel quad core Imac with 10.7 with bootcamp 4.0 but still getting that black screen while trying finish the install of windows 7 etc. or do i need a new mac for it to work properly

    This might help point you in the right direction.
    http://support.apple.com/kb/HT4818
    Hope it helps
    Also google it and lots of results come up including youtube clips....

  • I am not able to register my Apple ID for iCloud and the error is "the maximum no of free accounts have been activated on this phone" can any one help me why I need to do

    I am not able to register my Apple ID for iCloud and the error is "the maximum no of free accounts have been activated on this phone" can any one help me why I need to do

    Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
    You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support

  • I have MAC OSX 10.5.8 and need to install adobe illustrator. I checked the compatibility and found that CS5 will work.Can any one help where i can find it. The trail version is fine with me.

    I have MAC OSX 10.5.8 and need to install adobe illustrator. I checked the compatibility and found that CS5 will work.Can any one help where i can find it. The trail version is fine with me as i just have to use it for couple of days till i get my mac book back from service. Can any one help me on this.

    You are welcome, ameronweb.
    To elaborate a bit, you may come across offers of a new/unopened/unregistered version, which is the simplest case (you would need a guarantee). Other cases require much detailed information (and a guarantee).
    If upgrading to 10.6.8 or higher is an option, you could use CS6.

  • I have problem in quicklook for mp4 files in my mountain lion os 10.8.2 so please help me what i need to do? but i can view mov,3gp,jpeg files problem is only with mp4 files.... any one help me...

    I have problem in quicklook for mp4 files in my mountain lion os 10.8.2 so please help me what i need to do? but i can view mov,3gp,jpeg files problem is only with mp4 files.... any one help me...

    I have problem in quicklook for mp4 files in my mountain lion os 10.8.2 so please help me what i need to do? but i can view mov,3gp,jpeg files problem is only with mp4 files.... any one help me...

  • I bought an iphone5 from saudi arabia,can i use it in india?is there any requirements i have to take?many one are saying i need to unlock it,please any one help me,i did'nt activate my phone yet.

    i bought an iphone5 from saudi arabia,can i use it in india?is there any requirements i have to take?many one are saying i need to unlock it,please any one help me,i did'nt activate my phone yet.

    If the phone is unlocked then you can use it in India.
    If your phone is locked, then the only way to get the phone unlocked is to contact your phone company/carrier. The person that sold you the phone in Saudi should have told you whether it was locked or unlocked.  Contact them to check and then contact the carrier to have it unlocked if it is locked.
    Other than that there is not a lot that you can do - perhaps it was unwise to purchase a phone in Saudi - it won't have Facetime on it if you got it there.

  • Hi help needed in Smart form using BAdi ( please any one help me )

    Hi,
        I am working in SRM.I am new to SRM and smartforms .My problem is I need to change the stndard smarform for BBP_BIDINV_BID into zprogram for The text for Published Bid Invitation email should read as:xxxxwith emp name and date,The text for email when Bid is rejected :XXXx,Accepted,Returned.I need to attch the text using BAdi's .So can any one help me how to find out the suitable BADi to this and please send me process to do the oject..
    thanks in advance.
       Regards
         Uday

    Hi,
    check this BADI :
    BBP_OUTPUT_CHANGE_SF
    Regards
    Appana

  • HT5622 Is there any way to delete my apple id because i currently have 3 and i only need one. please help

    is there any way to delete my apple id because i currently have 3 and i only need one. please help. thanks

    No. Apple IDs can't be merged or deleted.
    (87219)

  • Somehow I can't hear people talking on my iphone 4 either when calling or being called. I've bought this one for half a year. I need your help~Thank you in advance.

    Dear Iphone fans,
    Recently, somehow I can't hear sounds when talking on my iphone4 either when calling or being called. When asking them later, they said they can hear me but my sound become very low and unclear. And I can't hear a thing at that time. Could anyone tell me how I could fix the problem.
    I've bought this one for half a year. I need your help~
    Thank you in advance.

    Dear Iphone fans,
    Recently, somehow I can't hear sounds when talking on my iphone4 either when calling or being called. When asking them later, they said they can hear me but my sound become very low and unclear. And I can't hear a thing at that time. Could anyone tell me how I could fix the problem.
    I've bought this one for half a year. I need your help~
    Thank you in advance.

  • Im having trouble using bbciplayer on my ipad it says i need to switch to wifi but im already connected can any one help?

    im having trouble using bbciplayer on my ipad it says i need to switch to wifi but im already connected can any one help? I ve uninstalled/ reinstalled  switched it on and off what next?

    Did you try downloading the movie from iTunes on your iPad?  I know it takes longer but I'd try that. 
    Also try to reset all settings. 
    Settings > General > Reset. Reset all settings. 

  • Hi, i need ur help. i got my ipad from my school and they formatted it so that many things would not work, one of those things was iCloud, could any of you please help me undo that?

    hi, i need ur help. i got my ipad from my school and they formatted it so that many things would not work, one of those things was iCloud, could any of you please help me undo that?

    Check the settings on your iPad:
    1. "Settings > General > Restrictions"
    and also
    2.  "Settings > General > Accessibility" here Learning/Guided Access

  • I have old MacBook running OS 10.6.8 I was told in Apple Genius Bar that I need a code from apple support to upgrade to 10.7.   Apple support will not help because I am have their support plan.  Can some one help?

    I have old MacBook running OS 10.6.8 I was told in Apple Genius Bar that I need a code from apple support to upgrade to 10.7.   Apple support will not help because I am have their support plan.  Can some one help?

    hi Samberl
    thanks a lot for the fast reply.
    I was dragging folders from main folders on the laptop-desktop  onto the external drive icon - to copy them across....
    Your suggestion sounds very promising -  I didn't know about 'cloning'.
    Yes the idea is to backup the laptop -    I thought I would just move it all now, new - and then keep saving/dragging physically   across to the new drive myself each day or two...
    Would this be the sizeof the internal hard drive = c.500 gb  ?   =   under the HD icon on desktop is written  : 
    " 499.76gb , 311.5 gb free  " 
    I can erase and start agin on the new external drive - so this plan is to make two partititions, rather than the one at present, and make one of them 500 gb ?
    I have found CCC [carbon copy cloner] googling - looks good.
    When CCC site says it backs up  the hard drive - would this  mean all my files  [over 100 gb] that are mostly  in folders on the desktop, plus the others in itunes, iphotos etc found in the HD icon,  would all copy across successfully [wherever they are in the computer ]  ?
    thanks again, hope you can clarify these things and then I will go for it. 
    It would be great and amazing if this 'lack of permission' message doesn't show up in the process of doing this ccc transfer - hopeful!
    Julie

  • In Linux, my firefox uses the /etc/firefox profile for all users, now I need ONE user only to start with their own profile, I'm struggling to achieve this, please help!

    In Linux, my firefox uses the /etc/firefox profile for all users, now I need ONE user only to start with their own profile, I'm struggling to achieve this, please help!

    .Jake. wrote:
    I forgot to say that the hard drive has not been used yet...
    So you have no backup of your data at all?
    Pete

  • HT201304 I don't what is wrong with my card I can't buy anything on apple store even free ones I can't download, they said my previous purchase have a problem but I don't how wil I do to solve this problem, I need a help pls

    I don't what is wrong with my card I can't buy anything on apple store even free ones I can't download, they said my previous purchase have a problem but I don't how wil I do to solve this problem, I need a help pls

    What is the exact error message you're receiving?

Maybe you are looking for

  • HT4910 I still don't know how to get contacts from iCloud to my macbook !

    For some reason when I sync my iphone to my macbook it is NOT syncing my contacts properly.  My contacts are on iCloud, but how do I get them from iCLoud to my Macbook so that iCloud, iPhone and macbook all have the same contacts. Also for some reaso

  • Autofill form addon is missing page information to fill profile data

    to use autofill form add on you must enter data after selecting the simple icon. I selected the simple icon and no fields are available to fill out your personal data. I am using firefox 3.6.13 on my PC using window 7 Home premium. It was working up

  • EJB Entity transaction rollback problem

              Hello,           I have created 2 beans one is a Stateless Session and the other a Bean Managed Entity Bean. The SS Bean has methods to retrieve an Oracle Connection from a DataSource defined connection pool, and to close a connection. The

  • Classic Environment and games

    I'm trying to run Backyard Football on my MacBook Pro 10.6.6. i keep getting the 'classic environment not supported' message. i've browsed around these forums and seen how you can download emulators to run instead of Classic. I was wondering if there

  • Puzzle texture\effect Question

    I am on a Windows 7 PC using PS 5.5 Extended. I am looking to create a puzzle texture with a photo. I have read various articles on the forum from searching and most seem to point to a pre-loaded but not installed puzzle texture plug-in. I can't seem