BDC session created as i excute I have not passed any file name

Hello Guru's
        I  have created one BDC
PARAMETERS : readfile LIKE rlgrap-filename DEFAULT
             'c:\textfile.txt' LOWER CASE.
on execute I'm passing a new file name & my BDC works fine.
But in case i execute & do not pass any file name & cancel the same a BDC session is generated with zero values.
How to restrict the same. Please guide.

hi,
make ur field obligatory..
PARAMETERS : readfile LIKE rlgrap-filename DEFAULT
'c:\textfile.txt' LOWER CASE OBLIGATORY.
and make another check.
after uploading the file to internal table, check whether it contains any value...
   IF <tab>[] IS INITIAL.
      MESSAGE 'No Data in FILE.' type 'E'.
      LEAVE LIST-PROCESSING.
   ENDIF.
and if a blank session is generated, go to SM35 and delete that session...
Edited by: Sukriti Saha on Oct 23, 2008 10:39 AM
Edited by: Sukriti Saha on Oct 23, 2008 10:41 AM

Similar Messages

  • Receiving error message "The song "example" cannot be used because the original file could not be found. Would you like to locate it?". I have not changed any file names ...

    Ive searched this error message and tried to remedy, with no luck.

    Yes, with no luck ... But I'm not exactly a computer tech. I searched with spotlight with no results.

  • Create Unique Index On Flow does not work for table names 23 characters

    I have a "create unique index on flow table" step that is dynamically generated by the IKM.
    The index name that is generated by the IKM is based on the table name except that the created index name is prefixed with "I$_" and ends with "_idx". Obviously, since Oracle table names can not exceed 30 characters in length, the index creation step will fail if the base table name exceeds 23 characters.
    I have tried to substring the index name generation step in the IKM so that it only uses the first 23 characters of the table name, but have not had any luck with using the "substring" command together with snpRef.getTable call.
    This is the section of the IKM that I desire to change:
    - <Field name="Txt" type="java.lang.String">
    - <![CDATA[
    create unique index      <%=snpRef.getTable("L","INT_NAME","W")%>_idx
    on          <%=snpRef.getTable("L","INT_NAME","W")%> (<%=snpRef.getColList("", "[COL_NAME]", ", ", "", "UK")%>)
    <%=snpRef.getUserExit("FLOW_TABLE_OPTIONS")%>
    ]]>
    </Field>
    I would like to change the above to something similar to the following (note the only change is the addition of substring(1,23))
    - <Field name="Txt" type="java.lang.String">
    - <![CDATA[
    create unique index <%=snpRef.getTable("L","INT_NAME","W")*.substring(1,23)*%_idx
    on          <%=snpRef.getTable("L","INT_NAME","W")%> (<%=snpRef.getColList("", "[COL_NAME]", ", ", "", "UK")%>)
    <%=snpRef.getUserExit("FLOW_TABLE_OPTIONS")%>
    ]]>
    </Field>
    Any help greatly appreciated. Thanks.

    As the index is temporary, just like the I$ talbel, the easiest way is to replace the table name with some unique identifier like the session is:
    bq. I$_&lt;%=odiRef.getSession("SESS_NO")%&gt;_idx
    If for some reason that is not unique enough, add the NNO:
    bq. I$_&lt;%=odiRef.getSession("SESS_NO")%&gt;&lt;%=odiRef.getSession("NNO")%&gt; \\ _idx                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I have not recieved any licence # for my Creatice Cloud apps

    I have a creative cloud membership, have downloaded Indesign, Photoshop and Illustrator CS6 from the Cloud Client. The software opens as trial versions and I have not been able to find any license number to register. I have not recieved any mail from Adobe with this and it is not present at my account. How do this work?

    Hi Manish. Thank you. The issue was that The application manager was set to Norwegian as language in The preferences. I set that to English and re-installed everything.  Now it's working fine.
    Regards Tor
    Den 29. mai 2012 kl. 01:04 skrev Manish Kumar <[email protected]>:
    Re: I have not recieved any licence # for my Creatice Cloud apps
    created by Manish Kumar in Adobe Creative Cloud - View the full discussion
    Close all application and Clear the bowser cache. Launch CS6 application and check, if you still get the activation .
    Click on License the software and type in the Adobe ID. It would work.
    Check this link if the above step din't resolve the issue: http://helpx.adobe.com/creative-cloud/kb/creative-cloud-trial-mode.htm l
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4446038#4446038
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4446038#4446038. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Creative Cloud by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • In iCal - I keep getting the error message " This calendar was created by Mail" and it will not accept any input; why..??

    In iCal - I keep getting the error message “ This calendar was created by Mail” and it will not accept any input; why..??

    use Disk Utility and Verify Permisions then fix and Verify Disk and fix, this should fix it.

  • I have an Iphone 4s from my work. Until 2 days ago, my iphone would notify me when I got an email or text. Now it does not notify me at all and some times it does not ring at all either. I have not changed any settings at all.

    My iphone just randomly stopped notifying me when I got an email, text or voicemail. Sometimes it will not even ring. I confirmed that the volume is turned on and I have not changed any settings at all. My software is up to date. In my job I need to know when I get an email without having to constantly activate the screen or open the email icon.
    Does anyone have any suggestions to fix this problem?

    First, is the Mute switch activated?
    Mute switch is above the volume buttons on the left side of iPhone.
    If you see red/orange color the the mute is ON.
    Also check Settings > Sounds > for New mail, Text Tone, etc.. have sound entries?
    If that's not the case try
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data

  • HT201269 My 4s wont restore from the backup on my pc, its asking for a password and my itunes password wont work .... I have not submitted any others ?? please help!

    I have today replaced my 4s with a new one - having backed up my old one to itunes only this afternoon. It refuses to restore from backup and is asking me for a password... my itunes password isnt working, and yet i have not entered any others.. does anyone have any suggestions?

    Hi..
    It's asking for your admin password, not your Apple ID and password.
    If you can't remember the password ..
    Your new Mac is running v10.7 Lion so  there are two ways to reset  the admin password.
    Here > Reset a Mac OS X 10.7 Lion Password
    or here >  OS X Lion: Apple ID can be used to reset your user account password

  • The salesperson for my iphone 4 said on Christmas morning we could go to our online account, select my number, select to change my SIM card, and enter the ICCID number so that I'd be able to use my iphone 4 today. I have not seen any such steps. Help?

    The salesperson for my iphone 4 said on Christmas morning we could go to our online account, select my number, select to change my SIM card, and enter the ICCID number so that I'd be able to use my iphone 4 today instead of my old phone (not an iphone). I have not seen any such steps. Help?

    I suspect the salesperson that told you that meant your online account with your carrier...have you tried logging into your carrier account online? To do this will require the sim number on your sim card, as well as the phone's IMEI number...you get the sim number off the sim card & the IMEI number, for the phone, is printed on the box.

  • My Mac has stopped receiving mail. Mail is still coming through to my iPhone and my wife's iPad but is not appearing on my mac. I have mail from today on the phone but nothing newer than 18 Feb on the Mac. I have not touched any settings. Can anyone adv

    My Mac has stopped receiving mail. I have a mac.com address. Mail is still coming through to my iphone and my wife's ipad but nothing is coming through to my imac.I have mail from half an hour ago on the phone but nothing newer than 18 Feb on the mac. Everythng was working fine until recently and I have not touched any settings! Can anyone help?

    So I tried something else recently and it seems to have fixed the issue. My mail is now getting new mail again and refreshing after waking from sleep without having to restart mail. Give it a try and hopefully it will help you too.
    First, make sure your Mailbox List is visible (Shift + Control + M). Then select all of your inboxes, mailboxes, and folders (not just the root folder for nested folders, make sure to select them all). Then under the "Mailbox" menu, select "Rebuild."
    It may take a while to rebuild them all if you have a lot, but like I said it seems to have done the trick for me. I hope that proves to be more of a long-term solution.

  • Question about app itune, it automatically charge money from my card on Apr/24th, but i have not buy any music or any apps on that day!! what's wrong

    question about app itune, it automatically charge money from my card on Apr/24th, but i have not buy any music or any apps on that day!! what's wrong ??

    Please look at your E-Bill and click report a problem.

  • I have not had any issue with Itunes on my PC until recently. Every now and then my Itunes library appears on my screen?  I have not clicked the itunes icon beforehand nor plugged in my Ipod Touch?  Why does ths happen please. I have windows XPPOdany ic

    I have not had any issue with Itunes on my PC until very recently. Every now and then my Itunes library appears on my screen?  I have not clicked the itunes icon beforehand nor plugged in my Ipod Touch?  Why does this happen please as it is driving me crazy!.

    What's the precise text of the message, please? (There's a couple of different ones I can think of that you might be getting.)

  • I Have a Ipod Classic that all my music is on. After my previous computer crashed I have not had any of my music able to be transfered to the new computer from the Ipod. Is there a way to do this

    I Have a Ipod Classic that all my music is on.
    After my previous computer crashed I have not had any of my music able to be transfered to the new computer from the Ipod.
    Is there a way to do this?

    Unfortunately, unless you have a backup and can restore the iTunes library to the new computer, you are stuck with the current state of the iPod. This is one of those things that makes doing backups so important.
    Unless your music is all purchased from iTunes (not from your own CD's that you imported into iTunes and then downloaded to the iPod), you will be able to re-download all your iTunes store music back to the iPod when you install iTunes on the new computer. When you first attach the iPod to the new computer and new iTunes the first time it will tell you that this iPod is synced with another iTunes library and let you initialize the iPod (which will erase everything on the iPod - so don't do this unless you don't care about the stuff on the iPod now).
    I've seen 3rd party apps in the past that will let you copy music/content from iPod to computer and bypass iTunes, but not sure if they still exist as this was several years ago.
    good luck

  • I can no longer send iCal invitations.  I have not changed any settings, passwords or email accounts.  No idea what to do.

    I can no longer send iCal invitations.  I have not changed any settings, passwords or email accounts.  No idea what to do.

    Greetings,
    Questions:
    What happens when you put in an email address in an event? (Make sure the email address is also in your addressbook (Macintosh HD > Applications > Addressbook)
    Are you using calendars that show up under "On My Mac" on the left hand side of iCal or are the calendars under a different heading?
    Troubleshooting:
    Make sure that you can send / receive email in the Apple Mail program.
    Make sure that the email address in Mail > Preferences > Accounts is also on your Addressbook card:Go to Addressbook > Card > Go to My Card -- The email address you are using to send receive messages on your computer should be on this card.
    If that doesn't take care of it:
    1. First make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    4. Launch iCal and test.
    If the issue persists:
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps!

  • My iPhone 4 cellphone was stolen last year. I have done all the procedures of reporting it to the South African Police Services and my Vodacom service provider. I do have the case number and I did blacklist my stolen phone. I have not had any assistance.

    My iPhone 4 cellphone was stolen last year. I have done all the procedures of reporting it to the South African Police Services and my Vodacom service provider. I do have the case number and I did blacklist my stolen phone. I have not had any assistance. I had installed Find My iPhone but did not have any iCloud account on it (ie. iCloud Username and Password). So I am unable to track it or find its location as yet. Please help me find my iPhone 4.

    Your only chance is setting it up as new device without using the latest backup afterwards, which you already did.
    If this does not work, you should get it serviced:
    Apple - Support - Service Answer Center
    How to back up your data and set up as a new device

  • I have not deleted ANY texts since I got my phone and Ihave not synched.  I just can't scroll back in a thread to older texts.  How can I get back to read those?

    I have not deleted ANY texts since i got my phone 10 weeks ago.   Nor have I syched.  How can I go back to earlier texts in a thread to see them again?

    I've found that the easiest way to view old texts is by archiving them to my computer using a program such as PhoneView (Mac) or TouchCopy (Mac or PC). I generally save important threads to a .pdf for future reference.

Maybe you are looking for